rsync over ssh on a non-default port


This has long been plaguing me. I finally worked it out today though. :)

The syntax is quite simple, for port 12345 you would use …

rsync -avPe 'ssh -p  12345' username@remoteserver:/filepath /localfilepath

Very simple when you see how it’s done eh? :P

,

  1. No comments yet.
(will not be published)


css.php