bthoven Posted January 12 Share Posted January 12 (edited) simply add a public key in authorized_keys file on your flash drive. It will be persistent. Edited February 18 by bthoven Quote Link to comment
MrGrey Posted January 12 Share Posted January 12 Keep it private. I know, it's f&6king ironic. MrGrey. Quote Link to comment
andrewjs18 Posted February 18 Share Posted February 18 few questions: I know how to do this on a general *nix OS, but unsure if it's different with unraid.. how do I get ssh to start on boot? for example, I just updated unraid to the latest version, which required a reboot. after the reboot, I wasn't able to ssh in from putty because there wasn't an instance of sshd running. I noticed that after changing the ssh port and trying to restart ssh: root@NAS:/boot/config/ssh# /etc/rc.d/rc.sshd restart WARNING: There does not appear to be a parent instance of sshd running. If you really want to kill all running instances of sshd (including any sessions currently in use), run '/etc/rc.d/rc.sshd stop' instead. Earlier in this thread, there was mention of copying the /etc/ssh/sshd_config file to /boot/config/ssh - which file do we need to modify so the settings stay persistent, the sshd_config in /etc/ssh or /boot/config/ssh? it seems when I reboot my unraid box, the port setting in sshd_config in /etc/ssh always gets reset back to the default port of 22. thanks! Quote Link to comment
andrewjs18 Posted February 18 Share Posted February 18 I think I answered the 2nd half of my question just by doing some trial and error. once I modified the sshd_config file in /boot/config/ssh, it seemed to copy that over to /etc/ssh after a reboot so the changes were persistent, at least as far as I can tell. Quote Link to comment
johntk22 Posted April 6 Share Posted April 6 To set up passwordless ssh access to unraid from a Linux or Mac OS X machine by using PuTTY. Generate SSH key on your Linux or Mac OS by using PuTTYgen. Open the PuTTY configuration windows and connect to unraid server. To check the process of this go to https://puttykeyinfo.com/ Quote Link to comment
Recommended Posts
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.