{"id":14,"date":"2010-03-09T20:02:06","date_gmt":"2010-03-09T20:02:06","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=14"},"modified":"2010-03-09T20:02:06","modified_gmt":"2010-03-09T20:02:06","slug":"rsync-with-custom-ssh-port","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/rsync-with-custom-ssh-port.html","title":{"rendered":"Rsync with Custom SSH Port"},"content":{"rendered":"<p>We are running R1Soft as our backup software for last 4 months. We have converted almost all of our servers into R1Soft. But we still have couple of very old server (Aging 4 years) who are using Rsync. We have recently moved our backup server and found that changing the SSH port for the backup server was necessary. By default, rsync command won&#8217;t work with custom SSH port as it assume the SSH port is set to 22. To use a custom port you need to use the attribute &#8216;-e&#8217;. Here is an example of using Rsync with Custom SSH port 2287:<\/p>\n<blockquote><p>rsync -vrplogDtH -e &#8220;ssh -p 2287&#8221; \/home root@76.76.76.76:\/backup\/<\/p><\/blockquote>\n<p>Just posted it thinking it might be useful for some users \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are running R1Soft as our backup software for last 4 months. We have converted almost all of our servers into R1Soft. But we still have couple of very old server (Aging 4 years) who are using Rsync. We have recently moved our backup server and found that changing the SSH port for the backup &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/rsync-with-custom-ssh-port.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Rsync with Custom SSH Port&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25],"tags":[53,77,100],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/14"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":0,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}