scp between remote hosts on different networks

Andrew P. Lentvorski, Jr. bsder at mail.allcaps.org
Fri Dec 24 13:22:24 PST 2004


On Dec 24, 2004, at 1:38 PM, Karl Cunningham wrote:

> hosta can see both hostb and hostc.  However, hostb and hostc are on
> different networks and can't see each other directly.
>
> I can transfer foo.bar from hostb to hostc like this:
> karl at hosta$ scp hostb:foo.bar .
> karl at hosta$ scp foo.bar hostc:
> karl at hosta$ rm -f foo.bar

Sitting on hosta, does:

scp hostb:foo.bar hostc:foo.bar

work?  I tested it on OS X and it seems to.

-a




More information about the KPLUG-List mailing list