Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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.

share|improve this answer

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

share|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. –  Opt Jun 19 '10 at 6:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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