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.

Possible Duplicate:
Basic ssh tunneling through generic linux ssh server/client

I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC. My work has changed it so I now need to SSH twice before I can access my PC.

So I need to:

ssh username@server.name
password: xxxxx

I then need to do it again.

ssh computer_name
password: xxxxx

I've tried accessing directly via my computers IP but to of no avail.

Is there a way I can use pscp or file zilla to ssh twice so I can transfer files?

share|improve this question

marked as duplicate by Nifle, Diago Jan 5 '11 at 18:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

I think you can handle this by using ssh forwarding or ssh tunnelling - use those as search terms here (or in google) - or review the SSH documentation.

share|improve this answer

Log in via ssh -L 222:computerIP:22 server.name

then from same machine as last command, and with last connection still open in anouther window use

ssh 127.0.0.1 -p 222

If you want to use scp to copy files, use scp -P 222 user@127.0.0.1

I believe this'll work, never tried it.

p.s: You can use -L 22 if you want, but i always pick anouther port on the assumption your using the first machine as an ssh server as also.

share|improve this answer

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