Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid 7.2.3 SSH occasionally drops and I have to restart the service

Featured Replies

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

Solved by JorgeB

  • 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 off

NIC 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.

  • 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 off

NIC 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.