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.

I'm on a windows machine using putty to ssh into my schools server. From there I need to "slogin -XY machine1" and then "slogin -XY machine2" .

Ideally, I'd like to use WinSCP to connect and transfer files. I know I can do this by using two copies of PuTTY , one to ssh into the server and create a proxy, and the second PuTTY to connect to the proxy and login to machine1 and create a second proxy. I can then use winSCP to connect to the proxy server and login to machine2...

Is there a simpler way of doing this?

share|improve this question

2 Answers 2

Are machines 1 and 2 unix based? If so, couldn't you just use Unix scp? You wouldn't be able to use winscp to transfer files between two unix based systems anyway.

From source machine,

scp -rp user@hostname:destination_directory /path/to/files

You haven't made it clear exactly where from and where to you want to transfer the files.

share|improve this answer
    
yes machines 1 and 2 are unix based. I am wanting to transfer files from my windows pc to the machine2. –  Mike Sep 20 '12 at 5:09
    
Well, you could copy the files into the server first on winscp and then 'scp -rp' to transfer them from the server to machine –  Jay Sep 20 '12 at 5:18
    
that will do it I think, thanks –  Mike Sep 20 '12 at 5:24

You can use MobaXterm: it has a graphical sftp function like WinSCP, but it also allows you to go through your machine hops automatically. They call it "SSH bouncing".

You just have to
- download MobaXterm from here: http://mobaxterm.mobatek.net/download-home-edition.html
- Click on "New session" and choose "ssh"
- Specify your first machine name or IP address in the "SSH bouncing (connect through a gateway ssh server).

share|improve this answer

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.