[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync, ssh, scp: How to send via eth1 or higher ?



On Fri, Jul 28, 2006 at 02:14:35PM +0200, Hans-J. Ullrich wrote:
> Hi folks, 
> 
> is there any way, to send files over a device greater than eth0 ?
> 
> If eth0 is online, ssh, scp and rsync always wants to send over eth0. In the 
> manpages I found no way to change it.
> 
> (Background: I have wired cable on eth0 and wireless on eth1. You might 
> say: "Just change it !" But as I work on different places, then I have 
> continously to change. What a mess....)
> 
What you want to do makes no sense.  Your system uses the default route
for anything outside your local network(s).  Check the output of `route
-n` to see which device is set as the default.  You can also use the
route command to change it.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: signature.asc
Description: Digital signature


Reply to: