mcleanap Posted May 9, 2017 Share Posted May 9, 2017 I am currently using OpenSSH and tried a few things to get this work - hosed my root SSH access for a bit in the process, so I figured I would check if anyone actually knows how to do this. The end result is using WHMEasyBackup to SSH to one folder in order to send cpanel backups to my server. Any ideas? Link to comment
JonathanM Posted May 9, 2017 Share Posted May 9, 2017 AFAIK, not possible without major hackery. Unraid user model != regular linux user model. Link to comment
mcleanap Posted May 9, 2017 Author Share Posted May 9, 2017 Figured as much. I can restrict each ssh user by ip address though, correct?Sent from my SM-G930W8 using Tapatalk Link to comment
ken-ji Posted May 9, 2017 Share Posted May 9, 2017 unRAID users are actually service users - not real users by default. Try this, add this line to the /boot/config/ssh/sshd_config AuthorizedKeysFile /etc/ssh/%u.pubkeys place the public key inside /boot/config/ssh/sshd_config/root.pubkeys Easiest to just restart unRAID after this Then you should be able to ssh in as root (without passwords using the matching private key) However, this means all files will be created as root:root unless your backup mechanism allows you to specify the owner of the uploaded files Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.