[GLLUG] scp question

Marshal Newrock marshal at zordio.com
Sat Jan 25 01:52:51 EST 2014


I found a useful article about this:

http://stackoverflow.com/questions/3407442/how-does-scp-traffic-flow-between-two-remote-hosts

The upshot is that unless the two remote hosts can see each other, you
can use the -3 option to force traffic through the local host.

Marshal


On Fri, 24 Jan 2014 23:56:08 -0500
Stanley Mortel <mortel at cyber-nos.com> wrote:

> OK, so I'm trying to copy some files from a server on a 192.168.16.0 
> network to another server on a 192.168.10.0 network.  My laptop has
> its wired port eth0 manually set at 192.168.16.2 and its wireless set
> via DHCP to 192.168.10.100.  I thought the following would do what I
> want:
> 
> scp user at wiredserverIPaddress:/path/files 
> user at wirelessserverIPaddress:/path/
> 
> I get the request for a password on the first server, then I get an 
> error trying to connect to the second server via the wireless
> connection:
> 
> ssh: connect to host <IP address> port 22: No route to host
> lost connection
> 
> I can ping both servers, and ssh into both individually, but scp
> doesn't seem to be able to figure out that the destination server
> needs to go out the wireless port.
> 
> Yes, I realize this is not a terribly efficient way to transfer
> files. That's OK.  I can just change IP addresses and do an scp
> direct from server1 to server2.  But..... it just seems like this
> should work, so I thought I'd try it.
> 
> Any suggestions?
> 
> 
> Stan
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://mailman.egr.msu.edu/mailman/listinfo/linux-user


-- 
Marshal Newrock
Zordio, LLC - http://www.zordio.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mailman.egr.msu.edu/mailman/public/linux-user/attachments/20140125/f59a06cd/attachment.bin>


More information about the linux-user mailing list