I´ve a Synology DS213 J Nas System. I´m trying to sync folders from a ubuntu 12.04 webserver to the nas without password prompt. therefore I logged into the nas via terminal with root account.
Created the ssh dir /root/.ssh
$ mkdir /root/.ssh
created the keys with
$ ssh-keygen
-> with empty paraphrase
Thus ssh-copy-id is not working on the synology nas i copied the id_rsa.pub by hand to the ubuntu machine
$ cat id_rsa.pub
Copy and paste it on ubuntu Server to
$ ~/.ssh/nas.pub
and "cated" the file into authorized_keys
$ cat ~/.ssh/nas.pub >> authorized_keys
/etc/ssh/sshd_config is set to
has RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
Unfortunately If I´m trying an rsync I´m asked for the empty paraphrase and the password for the ubuntu machine. helpful for any hint,
toni