My computer currently has access to the internet only through a proxy, thus I'm forwarding my ssh connection to port 8080 through corkscrew.

I need to run rsync over this ssh connection - does anyone know how to make it work? Just typing "rsync username@destination-ssh-server:folder-name" doesn't work since this doesn't forward the ssh traffic to port 8080.

Thanks

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

I was able to do this using the command

"rsync -v -e ssh Host:remote-folder destination-folder"

where Host was a host configuration in my .ssh/config file that used corkscrew using the ProxyCommand declaration.

link|improve this answer
feedback

You can specify the port using "-p 8080".

link|improve this answer
The -p option I believe is for setting destination permissions to be the same as source permissions. At any rate when I execute rsync -p 8080 source destination, it thinks 8080 is a file and fails. – Sid Jun 19 '10 at 6:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.