[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh and rsync



For various reasons (Bandwidth limiting opiton) i wish to copy a file from my local machine to a remote machine using rsync.
I wish to tunnel this trough ssh since the remote site doesnt run rsync.
The problem i'm running in to is that the ssh deamon on remote site is running on a high port and not the default port 22.
I cant seem to get the ssh connection to connect to an other port than 22.

This is how i run the command:
rsync --bwlimit=50 -ve -- ssh localfile ken@remote.host.net:portnumber/u/ken/

Does anyone have suggestions?

Kenneth



Reply to: