<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks Karl and Marshal. My version of ssh does not have the -3
option, so maybe I'll update it. The reverse port forward idea is a
slick idea.<br>
<br>
Appreciate the suggestions.<br>
<br>
<br>
Stan<br>
<br>
<br>
<div class="moz-cite-prefix">On 01/25/2014 02:30 AM, Karl Schuttler
wrote:<br>
</div>
<blockquote
cite="mid:CALUi6oWOn2u1NxjGm8Jnb8HdMN3VsYHE3o691EhyvE+ZonyJ7g@mail.gmail.com"
type="cite">
<div dir="ltr">Another avenue you could pursue would be to reverse
ssh port forward port 22 on <span
style="font-family:arial,sans-serif;font-size:12.727272033691406px">wirelessserverIPaddress
to a high port on your laptop (eg 8888).</span>
<div>
<span
style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
</span></div>
<div><span
style="font-family:arial,sans-serif;font-size:12.727272033691406px">Then
you could log into </span><span
style="font-family:arial,sans-serif;font-size:12.727272033691406px">wiredserverIPaddress
over ssh and initiate the scp, (scp -P 8888 localfile
wirelesserverusername@laptopIPaddress:path)</span></div>
<div><span
style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
</span></div>
<div><span
style="font-family:arial,sans-serif;font-size:12.727272033691406px">Less
elegant but maybe easier?</span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sat, Jan 25, 2014 at 1:52 AM,
Marshal Newrock <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:marshal@zordio.com" target="_blank">marshal@zordio.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I found a
useful article about this:<br>
<br>
<a moz-do-not-send="true"
href="http://stackoverflow.com/questions/3407442/how-does-scp-traffic-flow-between-two-remote-hosts"
target="_blank">http://stackoverflow.com/questions/3407442/how-does-scp-traffic-flow-between-two-remote-hosts</a><br>
<br>
The upshot is that unless the two remote hosts can see each
other, you<br>
can use the -3 option to force traffic through the local
host.<br>
<br>
Marshal<br>
<div class="HOEnZb">
<div class="h5"><br>
<br>
On Fri, 24 Jan 2014 23:56:08 -0500<br>
Stanley Mortel <<a moz-do-not-send="true"
href="mailto:mortel@cyber-nos.com">mortel@cyber-nos.com</a>>
wrote:<br>
<br>
> OK, so I'm trying to copy some files from a server
on a 192.168.16.0<br>
> network to another server on a 192.168.10.0
network. My laptop has<br>
> its wired port eth0 manually set at 192.168.16.2
and its wireless set<br>
> via DHCP to 192.168.10.100. I thought the
following would do what I<br>
> want:<br>
><br>
> scp user@wiredserverIPaddress:/path/files<br>
> user@wirelessserverIPaddress:/path/<br>
><br>
> I get the request for a password on the first
server, then I get an<br>
> error trying to connect to the second server via
the wireless<br>
> connection:<br>
><br>
> ssh: connect to host <IP address> port 22: No
route to host<br>
> lost connection<br>
><br>
> I can ping both servers, and ssh into both
individually, but scp<br>
> doesn't seem to be able to figure out that the
destination server<br>
> needs to go out the wireless port.<br>
><br>
> Yes, I realize this is not a terribly efficient way
to transfer<br>
> files. That's OK. I can just change IP addresses
and do an scp<br>
> direct from server1 to server2. But..... it just
seems like this<br>
> should work, so I thought I'd try it.<br>
><br>
> Any suggestions?<br>
><br>
><br>
> Stan<br>
> _______________________________________________<br>
> linux-user mailing list<br>
> <a moz-do-not-send="true"
href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a><br>
> <a moz-do-not-send="true"
href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user"
target="_blank">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br>
<br>
<br>
</div>
</div>
<span class="HOEnZb"><font color="#888888">--<br>
Marshal Newrock<br>
Zordio, LLC - <a moz-do-not-send="true"
href="http://www.zordio.com" target="_blank">http://www.zordio.com</a><br>
</font></span><br>
_______________________________________________<br>
linux-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a><br>
<a moz-do-not-send="true"
href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user"
target="_blank">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
linux-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a>
</pre>
</blockquote>
<br>
</body>
</html>