wgstarks Posted March 9, 2021 Share Posted March 9, 2021 On 3/8/2021 at 1:24 PM, ljm42 said: Have you had a chance to check out the 6.9.0 release notes? https://wiki.unraid.net/Unraid_OS_6.9.0#SSH_Improvements It can't (yet?) be configured via the webgui, but you can simply drop your authorized_keys files into config/ssh/root on the flash drive and it will be activated the next time you reboot. There is no longer any need to tweak your go script to copy files to /root/.ssh So this is no longer needed in go? # Enable certificate based SSH login mkdir /root/.ssh/ cp /boot/config/ssh/authorized_keys /root/.ssh/authorized_keys chmod 700 /root/.ssh chmod 600 /root/.ssh/authorized_keys And since authorized_keys is already in /boot/config/ssh/ (that's where it's being cp'd from) I just need to delete the entry from my go file and everything should be good? Quote 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.