Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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:
- 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

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 must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .