cucola
Posts: 6
Joined: Fri Oct 26, 2012 11:02 am

Problems with SSH

Sun Mar 17, 2019 1:35 pm

I want to run headless and access the RPI with SSH via Putty, however, rebooting the PI results in not starting properly, and having to attach a monitor and keyboard to restart SSH.

Any solutions please

B.Goode
Posts: 7376
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Problems with SSH

Sun Mar 17, 2019 2:14 pm

Maybe provide some background information as a basis for the advice you seek..

What model of RPi board?

What Operating System have you installed? And did you use the NOOBS or PINN installers, or a simple Operating System image?

Is there anything else unusual or customised about your system?

Because the usual expectation would be that a rebooted system would start with all the correctly configured services with no need for user intervention. Is the SSH Daemon configured to be enabled at reboot, for example by using the raspi-config utility?

Raspberry Pi Foundation documentation - https://www.raspberrypi.org/documentati ... /README.md

cucola
Posts: 6
Joined: Fri Oct 26, 2012 11:02 am

Re: Problems with SSH

Mon Mar 18, 2019 11:11 am

Many thanks. I forgot to change the SSH status in Raspberry Config. Now sorted.

jahboater
Posts: 3920
Joined: Wed Feb 04, 2015 6:38 pm

Re: Problems with SSH

Mon Mar 18, 2019 11:24 am

You may add an empty file called "ssh" or "ssh.txt" in the small FAT32 partition (which is always visible to Windows).
That should enable ssh, and the file should be removed on success.

(and ditto "wpa_supplicant.conf" for the WiFi).

It should not be necessary to attach a terminal/keyboard to a headless Pi to get everything working.

Return to “Beginners”