January 16Jan 16 My server is not exposed to the internet, at least not for SSH access.Usually I have an active SSH session with the server. When I let it idle for a day or two and I try to re-esatblish a fresh session from inside the network, I get rejected"ssh: connect to host hagrid.local port 22: Connection refused"I have to go into Settings > Management Access > and toggle SSH from Yes to No, then save, and toggle it back. After that I can SSH again.I just rebooted the server, attempted to SSH in to look at some logs, and was rejected. I didn't do the toggle dance to get SSH enabled again before collecting the diagnostics. Any idea what is happening?I see this in the syslog:Jan 16 09:13:55 Hagrid sshd[21869]: error: Bind to port 22 on 192.168.1.25 failed: Cannot assign requested address.Jan 16 09:13:55 Hagrid sshd[21869]: fatal: Cannot bind any address.hagrid-diagnostics-20260116-0914.zip
January 16Jan 16 Community Expert Solution Jan 16 09:13:44 Hagrid kernel: r8169 0000:07:00.0 eth0: Link is Down...Jan 16 09:13:48 Hagrid kernel: r8169 0000:07:00.0 eth0: Link is Up - 1Gbps/Full - flow control offNIC link went down, when after it came back up, it looks to me like there was a possible race condition between DHCP and SSH.If the link going down is common for that server, I would recommend changing to a static IP, and you should no longer have that issue.
January 16Jan 16 Author 29 minutes ago, JorgeB said:Jan 16 09:13:44 Hagrid kernel: r8169 0000:07:00.0 eth0: Link is Down...Jan 16 09:13:48 Hagrid kernel: r8169 0000:07:00.0 eth0: Link is Up - 1Gbps/Full - flow control offNIC link went down, when after it came back up, it looks to me like there was a possible race condition between DHCP and SSH.If the link going down is common for that server, I would recommend changing to a static IP, and you should no longer have that issue.Thanks. I had it set as DHCP Reserved at the router, but didn't set it statically in unRAID. I'll give that a try.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.