Wednesday, December 21, 2011
9:27 PM

RSYNC with Different Port

If SSH is not listening to the default port 22, then naturally we can not use RSYNC without specifying the SSH port. For example, if SSH is listening to port 4321, RSYNC can be used like this -

# rsync -av -e "ssh -p 4321"   source_file   user@IP:/destination

Hope it helps.

0 comments:

Post a Comment