Just to share
Tuesday, June 11, 2013
Rsync Command with Different SSH port
Rsync Command with Different SSH port
/usr/bin/rsync -avz --rsh='ssh -pPORTNUMBER' username@hostname:remotepath localpath
eg:
/usr/bin/rsync -avz --rsh='ssh -p52222 ' xyz@xyz.com:/home/xyz/public_html/project /home/admin/project/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment