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.

sshd_config

Featured Replies

hi, so I've enabled SSHD and want to do some obvious tweaks, i find /boot/custom/etc/ssh and edit sshd_config but after reboot, I still find that /etc/ssh/sshd_config lacks my mods.

Is there somewhere else I should make my changes?

hi, so I've enabled SSHD and want to do some obvious tweaks, i find /boot/custom/etc/ssh and edit sshd_config but after reboot, I still find that /etc/ssh/sshd_config lacks my mods.

Is there somewhere else I should make my changes?

You need to replace the edited file EVERY time you reboot, as the file you edited existed only in RAM, and is re-created in its stock form every time you re-install sshd when you reboot.

 

After editing the file, copy it to your flash drive.

cp /etc/ssh/sshd_config /boot/config/sshd_config

 

At the end of your config/go script, add a line to copy the edited sshd_config file back to /etc/ssh/sshd_config

cp /boot/config/sshd_config /etc/ssh/sshd_config

(then re-start the sshd if it was already started)

 

Joe L.

  • Author

so the contents of /boot/custom/etc/ssh isn't automagically copied on boot?

so the contents of /boot/custom/etc/ssh isn't automagically copied on boot?

why would it?  unRAID knows nothing about it. 

As far as I know, the only files automagically copied in the stock unRAID are the config/passwd, config/smbpasswd, and config/shadow files.

  • Author

err.. I ask because the various key files are!

 

Found that this is done in the addon install script, should this be in a different (addons) forum?

Anyway, thanks for the help, I have it working now - done the same thing with blockhosts and it's config and hosts.[ad]* files.

I'm a more secure (happy) bunny now ;)

Archived

This topic is now archived and is closed to further replies.

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.