I’m running 5.10.88-1-MANJARO-ARM-RPI aarch64 on a Raspberry Pi 4 Model B Rev 1.4. I have a server setup… no desktop environment. I’ve been using this setup for a couple of weeks with no significant issues. Just the learning curve of this being my first manjaro system.
Until today I’ve had no issues using ssh and sftp on this machine. Today I found that I could not ssh/sftp out. Each time I get a message similar to this:
ct@tanker:~ $ ssh curtis@frigate
ssh: connect to host frigate port 22: Connection timed out
Note: host “frigate” is on my home network. I get the same result when using it’s IP address.
When I check “systemctl status sshd” I get the following:
ct@tanker:~ $ sudo systemctl status sshd
[sudo] password for ct:
● sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-01-07 19:45:25 EST; 27min ago
Main PID: 508 (sshd)
Tasks: 1 (limit: 8975)
CPU: 6.043s
CGroup: /system.slice/sshd.service
└─508 "sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups"
Jan 07 20:10:11 tanker sshd[1502]: Disconnected from invalid user sybase123 45.124.144.116 port 39120 [preauth]
Jan 07 20:10:24 tanker sshd[1491]: fatal: Timeout before authentication for 112.85.42.151 port 61528
Jan 07 20:11:21 tanker sshd[1516]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=45.124.144.116 user=root
Jan 07 20:11:23 tanker sshd[1516]: Failed password for root from 45.124.144.116 port 58284 ssh2
Jan 07 20:11:23 tanker sshd[1516]: Received disconnect from 45.124.144.116 port 58284:11: Bye Bye [preauth]
Jan 07 20:11:23 tanker sshd[1516]: Disconnected from authenticating user root 45.124.144.116 port 58284 [preauth]
Jan 07 20:12:34 tanker sshd[1520]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=45.124.144.116 user=root
Jan 07 20:12:36 tanker sshd[1520]: Failed password for root from 45.124.144.116 port 49210 ssh2
Jan 07 20:12:38 tanker sshd[1520]: Received disconnect from 45.124.144.116 port 49210:11: Bye Bye [preauth]
Jan 07 20:12:38 tanker sshd[1520]: Disconnected from authenticating user root 45.124.144.116 port 49210 [preauth]
When I check “journalctl -xeu sshd” I get the following:
ct@tanker:~ $ journalctl -xeu sshd
Jan 07 20:06:23 tanker sshd[1470]: Received disconnect from 45.124.144.116 port 38102:11: Bye Bye [preauth]
Jan 07 20:06:23 tanker sshd[1470]: Disconnected from authenticating user root 45.124.144.116 port 38102 [preauth]
Jan 07 20:07:35 tanker sshd[1477]: Invalid user lst from 45.124.144.116 port 57266
Jan 07 20:07:35 tanker sshd[1477]: pam_faillock(sshd:auth): User unknown
Jan 07 20:07:35 tanker sshd[1477]: pam_unix(sshd:auth): check pass; user unknown
Jan 07 20:07:35 tanker sshd[1477]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=45.124.144.116
Jan 07 20:07:35 tanker sshd[1477]: pam_systemd_home(sshd:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jan 07 20:07:35 tanker sshd[1477]: pam_faillock(sshd:auth): User unknown
Jan 07 20:07:36 tanker sshd[1477]: Failed password for invalid user lst from 45.124.144.116 port 57266 ssh2
Jan 07 20:07:37 tanker sshd[1477]: Received disconnect from 45.124.144.116 port 57266:11: Bye Bye [preauth]
Jan 07 20:07:37 tanker sshd[1477]: Disconnected from invalid user lst 45.124.144.116 port 57266 [preauth]
Jan 07 20:07:43 tanker sshd[1452]: fatal: Timeout before authentication for 221.181.185.111 port 55666
Jan 07 20:08:26 tanker sshd[1492]: error: kex_exchange_identification: Connection closed by remote host
Jan 07 20:08:26 tanker sshd[1492]: Connection closed by 141.98.11.27 port 35886
Jan 07 20:08:44 tanker sshd[1493]: Unable to negotiate with 141.98.11.27 port 43542: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-e>
Jan 07 20:08:51 tanker sshd[1495]: Invalid user bmw from 45.124.144.116 port 48198
Jan 07 20:08:51 tanker sshd[1495]: pam_faillock(sshd:auth): User unknown
Jan 07 20:08:51 tanker sshd[1495]: pam_unix(sshd:auth): check pass; user unknown
Jan 07 20:08:51 tanker sshd[1495]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=45.124.144.116
Jan 07 20:08:51 tanker sshd[1495]: pam_systemd_home(sshd:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jan 07 20:08:51 tanker sshd[1495]: pam_faillock(sshd:auth): User unknown
I don’t know how to interpret what I’m seeing here. What action should I take to correct the issue based on this output? What else should I be looking at to troubleshoot the issue?
I can successfully ssh into the machine (host: tanker) from at least two other computers on my home network.