RPI3 Raspbian GNU/Linux 8 (jessie)Linux 4.9.50-v7+ #1035 SMP with RSA KEY
After sudo apt-get update && sudo apt-get dist-upgrade
I configured OpenVPN (with www.vpn.io
) .... everything worked with new fiber router ... also worked (installed 6 months ago) SSH with RSA KEY.
Then I installed a Fritz! Box 7490 as a cascaded router on fiber modem (192.168.1.1) and strangely RPi kept IP assigned by the fiber modem even if the Fritz! 7490 LAN works on a separate network (192.168.178.1).
I solved this problem by setting static IP on Rpi
with sudo nano /etc/dhcpcd.conf
At the bottom of the file I entered:
Now the RPI can also be reached with PING in LAN but SSH does not even work in Lan (and not even in wan).
# SSH enabled, SSH port enabled
# RSA KEY the usual installed 6 months ago (with fiber router worked)
# Rpi reachable with ping in lan
PROBLEM - with sudo systemctl status ssh.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled)
Active: failed (Result: start-limit) since sab 2017-11-18 16:59:38 CET; 38min ago
Process: 1046 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Main PID: 1046 (code=exited, status=255)
nov 18 16:59:38 RPi3 systemd: Unit ssh.service entered failed state.
nov 18 16:59:38 RPi3 systemd: ssh.service holdoff time over, scheduli...t.
nov 18 16:59:38 RPi3 systemd: Stopping OpenBSD Secure Shell server...
nov 18 16:59:38 RPi3 systemd: Starting OpenBSD Secure Shell server...
nov 18 16:59:38 RPi3 systemd: ssh.service start request repeated too ...t.
nov 18 16:59:38 RPi3 systemd: Failed to start OpenBSD Secure Shell server.
nov 18 16:59:38 BZ-RPi3 systemd: Unit ssh.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Can I go back and restore the old configuration? befor sudo apt-get update && sudo apt-get dist-upgrade