~ overflow ~

rsync over ssh with custom port

by z3n on Oct.29, 2010, under Linux Happyness

Problem:

How to do a rsync with custom ssh port ?

Solution:

This was a bit hard to find, so i’m posting it.
add:
-e “ssh -p PORT_NUMBER -C -oCompressionLevel=9″

to the command, like this:

rsync -azv --bwlimit=400 -e "ssh -p 12345 -C -oCompressionLevel=9" YOUR_HAPPY_USER@YOUR_SERVER:/path/to/files/from/server /path/to/local

Source:

mostly code

:, ,


No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!