{"id":84,"date":"2013-04-14T11:56:53","date_gmt":"2013-04-14T10:56:53","guid":{"rendered":"http:\/\/www.morong.info\/?p=84"},"modified":"2021-09-25T15:19:59","modified_gmt":"2021-09-25T14:19:59","slug":"rsync-without-password-on-synology-diskstation","status":"publish","type":"post","link":"https:\/\/www.morong.info\/?p=84","title":{"rendered":"Rsync without password on Synology DiskStation"},"content":{"rendered":"<p>Log into your Synology from a terminal<br \/>$ ssh root@diskstation_ip<\/p>\n<p>Edit the file \/etc\/ssh\/sshd_config as following:<br \/>$ nano \/etc\/ssh\/sshd_config\u00a0 (nebo vi)<br \/>#RSAAuthentication yes<br \/>PubkeyAuthentication yes<br \/>AuthorizedKeysFile .ssh\/authorized_keys<\/p>\n<p>Reboot your DiskStation<br \/>$ reboot<\/p>\n<p>Test zda funguje &#8211; ssh root@192.168.XXX.XXX\u00a0 &#8211;\u00a0 Adresa Synology NAS<br \/>Nem\u011bl by cht\u00edt heslo.<\/p>\n<p>Now test that effectively you can sync your folder to your DiskStation NetBackup folder, some other common options are used:<\/p>\n<pre><code>$ rsync -av --update --progress --delete --human-readable -e '\/usr\/bin\/ssh' \/local_folder_you_want_to_backup root@diskstation_ip:\/volume1\/NetBackup<\/code><\/pre>\n<p>P\u0159evzato z &#8211;<br \/><a href=\"http:\/\/www.cesareriva.com\/rsync-without-password-on-synology-diskstation\/\">http:\/\/www.cesareriva.com\/rsync-without-password-on-synology-diskstation\/<\/a><br \/>a \u010d\u00e1ste\u010dn\u011b zde &#8211;<br \/><del>http:\/\/forum.synology.com\/enu\/viewtopic.php?f=15&amp;t=31332#p134976<\/del><\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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\u00a0 (nebo vi)#RSAAuthentication yesPubkeyAuthentication yesAuthorizedKeysFile .ssh\/authorized_keys Reboot your DiskStation$ reboot Test zda funguje &#8211; ssh root@192.168.XXX.XXX\u00a0 &#8211;\u00a0 Adresa Synology NASNem\u011bl by cht\u00edt heslo. Now &hellip; <a href=\"https:\/\/www.morong.info\/?p=84\">Cel\u00fd p\u0159\u00edsp\u011bvek <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.morong.info\/index.php?rest_route=\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.morong.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.morong.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.morong.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.morong.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=84"}],"version-history":[{"count":5,"href":"https:\/\/www.morong.info\/index.php?rest_route=\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":442,"href":"https:\/\/www.morong.info\/index.php?rest_route=\/wp\/v2\/posts\/84\/revisions\/442"}],"wp:attachment":[{"href":"https:\/\/www.morong.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.morong.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.morong.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}