Unraid OS version 6.9.0 available


Recommended Posts

3 minutes ago, tuxbass said:

That's pretty much what i've been doing so far. In go file there's this section for ssh changes:

_ssh="/root/.ssh"
sshd_conf="/etc/ssh/sshd_config"

[[ -d "$_ssh" ]] || ln -s -- /boot/config/ssh "$_ssh"
find -L "$_ssh/" \( -type f -o -type d \) -exec chmod 'u=rwX,g=,o=' -- '{}' \+

sed --follow-symlinks -i '/^PermitEmptyPasswords.*/d' "$sshd_conf"
sed --follow-symlinks -i '/^PasswordAuthentication.*/d' "$sshd_conf"
echo 'PermitEmptyPasswords no' >> "$sshd_conf"
echo 'PasswordAuthentication no' >> "$sshd_conf"
# restart sshd service:
/etc/rc.d/rc.sshd restart
### /sshd

 

Looks about right (for 6.8.3) though it is unnecessarily convoluted :D

and its wrong for 6.9 as discussed above.

So just put your authorized_keys file in /root/.ssh (which should now be symlinked to /boot/config/ssh/root)

make a copy of /etc/ssh/sshd_config in boot/config/ssh and edit that

then restart sshd with /etc/rc.d/rc.sshd restart which should make the new changes active

 

 

Link to comment
  • 3 weeks later...
3 hours ago, 6of6 said:

Unraid doesn't work.

It does for most people.

I understand it can be frustrating if you cannot do what you expect but simply saying that it does not work will not improve the situation.

We have nothing to work from to try solve issues you might have with Unraid.

 

Please make a post in General support explaining your issues in details.

What you expect to do, what step you took, what is happening in return ?

Pictures of errors can help.

Attaching your Diagnostics will also give us information to help you (Tools / Diagnostics).

  • Like 3
Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.