Tunneling/SSH?

Associate
Joined
4 Nov 2002
Posts
121
Hi,

I've been trying for hours reading lots of rubbish to try and do something v. simple... I've been using an SSH client to connect to a server, once connected I call SSH/SFTP again to connect to another computer on the network... what I want to do is try to download from the last computer to my computer... but of course the get in sftp and cl in SSH will only download to the intially connected computer... I'm guessing I have to do some form of tunneling but for the life of me I can comprehend it...

Thanks in advance,
Dougie
 
I've got the first one to run:
ssh2 -C -g -L 22:username@2ndserver:22 username@1stserver

This runs fine... now I'm in the prompt for the 1st server... how do I use scp (sorry to sound stupid)...
this is what I was trying to run:
scp 2ndserver:/folder1/folder2/file.ext username2@localhost:localport

which is obviously wrong but I'm not sure what to put there.

Thanks again,
Dougie
 
Back
Top Bottom