Re: [BackupPC-users] Exchanging keys
2017-05-14 18:05:59
On Sun, May 14, 2017 at 4:43 PM, Bob Katz <bobkatz AT digido DOT com> wrote:
>
> Again, you're a godsend. I can root ssh to the Thecus!
>
> But I wish exchanging keys were that simple with the Thecus NAS. The Thecus
> has a sandboxed operating system. Anything below /raid will be eaten up on
> reboot. To do keys you have to use a module called FajoSSHD that's located
> here on the Thecus:
>
> Office-MacBook-Pro:~ bobkatz$ ssh [email protected]
>
> N6850:~# cd /raid/data/module/FaJoSSHD
> # ls
> cgi-bin/ log.txt Shell/ system/ www/
> COPY shell@ sys/ VERSION
> N6850:/raid/data/module/FaJoSSHD#
>
> I know that FajoSSHD keeps authorized keys in here:
>
> N6850:/raid/data/module/FaJoSSHD/system/etc/ssh/users/root# ls
> authorized_keys
>
> But I cannot figure out where the public key you want me to transfer should
> go. Would it go into that same directory? If not, I can explore any other
> directories. Somewhere in this hierarchy I need to put the key which I
> generated on my Fedora server.
>
> I'm going to try your code and see if I can get it to work using the above
> url. Stand by.
>
Normally the key goes in root's home directory under
.ssh/authorized_keys. That 'ssh-copy-id' command is a shell script
if you want to see what it does. Maybe you find wherever root's home
directory is in the sandbox environment and make a copy there.
If not, and you end up using rsyncd instead, just change the
$Conf{XferMethod} to rsyncd instead of rsync.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
ADSM.ORG Privacy and Data Security by KimLaw, PLLC
|