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.
# rsync -av -e "ssh -p 4321" source_file user@IP:/destination
Hope it helps.
Comments
Post a Comment