Rsync without password on Synology DiskStation

Log into your Synology from a terminal
$ ssh root@diskstation_ip

Edit the file /etc/ssh/sshd_config as following:
$ nano /etc/ssh/sshd_config  (nebo vi)
#RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys

Reboot your DiskStation
$ reboot

Test zda funguje – ssh root@192.168.XXX.XXX  –  Adresa Synology NAS
Neměl by chtít heslo.

Now test that effectively you can sync your folder to your DiskStation NetBackup folder, some other common options are used:

$ rsync -av --update --progress --delete --human-readable -e '/usr/bin/ssh' /local_folder_you_want_to_backup root@diskstation_ip:/volume1/NetBackup

Převzato z –
http://www.cesareriva.com/rsync-without-password-on-synology-diskstation/
a částečně zde –
http://forum.synology.com/enu/viewtopic.php?f=15&t=31332#p134976

Příspěvek byl publikován v rubrice LINUX. Můžete si uložit jeho odkaz mezi své oblíbené záložky.