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.

[6.12.10] Custom SSH ListenAddress removed after service restart

  • Minor

Every time I reboot my unraid server, or even restart the service now - the ListenAddress in ssd_config goes back to the BR0 address / LAN address but I want it to be a custom address or 0.0.0.0. 

 

nano /etc/ssh/sshd_config  --->  Add the new network 

nano /boot/config/ssh/sshd_config  --->  Add the new network 

 

2024-05-2409_03_31-mRemoteNG_-_confCons.xml_-_TomNAS(mRemoteNG).png.e40643a805067f0b6d8f38c3cb914c3c.png

 

/etc/rc.d/rc.sshd restart --->  Restart the SSHD service (reload has the same effect) 

 

2024-05-2409_04_55-mRemoteNG_-_confCons.xml_-_TomNAS(mRemoteNG).png.15f04076c08be12ef937595a5917beef.png

 

nano /etc/ssh/sshd_config  --->  Open the config file again to see that my config has been erased. 

 

2024-05-2409_05_19-mRemoteNG_-_confCons.xml_-_TomNAS(mRemoteNG).png.31a58ffba56a93f1c9b70599bc5c3974.png

 

I have inspected the /etc/rc.d/rc.sshd script which contains this comment (no date/timestamp)

 

Quote

# bergware - added interface bind functionality

 

Looking at line 18 and 21 the ListenAddress is removed and re-added using the "bind" array however I cannot tell where that bind array is being populated from. 

 

image.png.045a3c4a799719b14cd35ab737086e91.png

 

I have previously been able to have a custom SSH ListenAddress but I don't know if updating from 6.12.8 to 6.12.10 has changed this behaviour, or if I'm missing something else.  

 

If I manually runthe following command in the script to restart the service then I can get both listen addresses on both interfaces. 

 

Quote

 

SSHD="/usr/sbin/sshd"

$SSHD 2>/dev/null

 

 

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.