You are not logged in.

#1 2010-07-24 23:32:22

action_owl
Member
From: WWW, The Internet 127.0.0.1
Registered: 2009-08-15
Posts: 73

[Solved] Specifying the interface for SSH to use

I have an arch box with 2 network cards, one is connected to my router and the other is connected to a switch.

If I wanted to SSH into a computer connected to the switch I would need to use the second ethernet card.

How to I specify which card for SSH to use?

Thanks

Last edited by action_owl (2010-07-25 00:21:38)

Offline

#2 2010-07-24 23:56:10

humanzoo
Member
Registered: 2007-10-14
Posts: 28

Re: [Solved] Specifying the interface for SSH to use

Maybe the -b option:

From the ssh man page:

-b bind_address
              Use  bind_address  on the local machine as the source address of the connection.  Only useful on systems with
              more than one address.

Offline

#3 2010-07-25 00:22:25

action_owl
Member
From: WWW, The Internet 127.0.0.1
Registered: 2009-08-15
Posts: 73

Re: [Solved] Specifying the interface for SSH to use

Thanks,
I was scanning the manpage for "interface" or "network device"

Offline

Board footer

Powered by FluxBB