I can't get SSH to work on my newly setup Raspberry Pi 3. Installed a fresh image of Raspbian Stretch Lite.
I am unable to access the machine in the LAN using SSH:
pi@domoticz_pi:~ $ ssh 192.168.178.123 Connection reset by 192.168.178.123 port 22
The Pi can be pinged succesfully.
Tried the following to get it to work, without any result:
- Put a empty file called "ssh" (without extension) in the boot partition, using a windows machine (the machine I used to write the image to the SD)
- Enable SSH with the GUI many times.
sudo raspi-config. "Interfacing Options" -> "SSH"
- Write ssh file to the /boot directory.
cd /boot && sudo touch ssh. Reboot the Pi.
- Restarted the service multiple times:
sudo systemctl restart ssh
I don't have a clue why this is not working. Any ideas?