scp and forwarding

Trevor "TeC" Christian trevor at bouyon.dalive.com
Tue Nov 22 10:43:24 UTC 2005


Gregory P. Ennis wrote:

>List,
>
>It is easy to forward an ssh connection using the following command line
>syntax:
>
>ssh -t gateway.com ssh internal.com
>
>Is there a way to use scp to copy a file through a gateway machine to an
>internal server.
>
>Thanks,
>
>Greg Ennis
>
>  
>
I'm not sure i quite understand the reason for "through a gateway 
machine"...

Is it that the internal server cannot get to the internal.com itself?

Either way... i believe the fact that scp can be used to copy from one 
remote location to another may be of some help.

scp user at host:source user at host:destination

You get prompted for two passwords and your set...

Hope this helps...

-- 
*Trevor "TeC" Christian*
/TeC Productions Studios/
Cell #: (767) 225 4472
IM
   MSN: trevorc98 at hotmail.com / trevor at bouyon.dalive.com
   YM : trevorc01 at yahoo.com
   AIM: DoubleOTeC
   GoogleTalk: doubleOTeC at gmail.com
------------------------------------------------------------------------
Home Page <http://trevor.bouyon.dalive.com/>
Curriculum Vitae <http://bouyon.dalive.com/cv/>
Dalive Market <http://www.dalivemarket.com/>




More information about the users mailing list