Am 18.03.19 um 12:14 schrieb Rolf Schumann:
Hallo Andreas,
ich bin auf dem Zielrechner und versuche mich per ssh mit localhost zu verbinden. Ist dann das Verhalten nicht korrekt, dass er versucht per Port 22 eine Verbindung aufzubauen?
Am 18.03.19 um 12:08 schrieb Andreas Ernst:
Am 18.03.19 um 11:47 schrieb Rolf Schumann:
Das ist die Ausgabe von ssh rolf@localhost -v
OpenSSH_7.6p1, Openssl 1.1.0i-fips 14 Aug 2018 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 25: Applying options for * debug1: Connecting to localhost [::1] port 22 debug1: connect to address [::1] port 22: Connection refused debug1: Connecting to localhost [127.0.0.1] port 22 debug1: connect to address 127.0.0.1 port 22: Connection refused ssh: connect to host localhost port 22: Connection refused Sieht so aus, dass nur auf localhost gehorscht wird und nicht auf der externen Schnittstelle.
Bist Du sicher, dass der sshd läuft? Was sagt ps aux | grep sshd Auf welchen Port ist sshd konfiguriert? Was sagt grep -i port /etc/sshd_config Vielleicht funkt Dir auch apparmor dazwischen?