[Gllug] rsync over ssh

Matthew King matthew.king at monnsta.net
Fri Dec 18 10:54:48 UTC 2009


"Adrian McMenamin" <adrian at newgolddream.dyndns.info> writes:

> The remote server uses a non-standard ssh port
>
> so I try rsync -ave ssh -p [odd port number]
> root at remoteserver:/var/www/somedirectory/ ./backup

Do you you run

rsync -ave ssh -p PORT root at remoteserver:/var/www/somedirectory/ ./backup

or

rsync -ave "ssh -p PORT" root at remoteserver:/var/www/somedirectory/ ./backup

Matthew

-- 
I must take issue with the term "a mere child", for it has been my
invariable experience that the company of a mere child is infinitely
preferable to that of a mere adult.
                                           --  Fran Lebowitz
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list