[Gllug] rsync over ssh

Victor Churchill vchurchill at softwareshack.eu
Fri Dec 18 11:18:36 UTC 2009

Amen to all the above on quoting.

You can also set it up in your ~/.ssh/config file with a stanza

Host remoteserver
Port portnumber

Then when you use ssh or any tool like rsync that runs over ssh that
port will be used instead of the default port 22.

It used to be also possible to control this (just for rsync) by
setting the RSYNC_RSH environment variable, but that was years ago
when rsync used rsh by default so that could be obsolete now.
Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list