Rsync with daemon over SSH on port 22 not daemon port

markcliff at gmail.com markcliff at gmail.com
Mon May 5 15:24:04 GMT 2008


Hi gurus!

First time post:

Scenario want to talk to daemon locked behind a firewall using encrypted transfer of files.

Have daemon setup on port 10001.

Do not have NC, do not have root access. 

Client command : 

rsync -avzul -e "ssh -vvv -l username" /home/users/blah/ rsync://lrem02:10001::/live

As you can see the connection is set to talk to lrem02 on port 10001 however i want to encrypt transfer so i assumed i could do the following:

rsync -avzul -e "ssh -vvv -l username -L 10001:lrem01:22" /home/users/blah/ rsync://lrem02:10001::/live

However this doesnt work as i perhaps need to config server side :(

How can i transfer to a non standard SSH daemon port (10001) with non-root and non access to alter the init default files (873). 

All help appreciated im assuming my connection is been ignored -e as doesnt make sense i have tried 60 ways id say --rsh=ssh etc but need to turn too the experts!

Many thanks info appreciated...

--
This message was sent on behalf of markcliff at gmail.com at openSubscriber.com
http://www.opensubscriber.com/messages/rsync@lists.samba.org/topic.html


More information about the rsync mailing list