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

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:

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, BinaryMisfit 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.

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

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

ssh -p 222

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

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 .