Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > possible SSH over 2nd network interface?

possible SSH over 2nd network interface?
Thread Tools
BigWheel88
Fresh-Faced Recruit
Join Date: Feb 2008
Status: Offline
Reply With Quote
Aug 27, 2010, 03:07 PM
 
I don't know if this is the right section to to be posting this.

Anyway I use both airport and ethernet at work. The ethernet is the main connection I use which I need for exchange connecting to shared drives and such. It is also the faster of the two. However all ports are blocked except a few of the common ones. Port 22 is blocked too.

The airport is slower but all ports are open.

I have ethernet as the first interface in network order so everything trys to use that including terminal

is there a way to tell terminal when entering ssh command to tell it to use the airport (en1) instead of ethernet (en0)?
     
BigWheel88  (op)
Fresh-Faced Recruit
Join Date: Feb 2008
Status: Offline
Reply With Quote
Aug 27, 2010, 03:58 PM
 
just figured it out.

using -b bind address option

ssh -b airportipaddress -p port [email protected]
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Aug 27, 2010, 10:32 PM
 
Thanks for posting that, I was going to suggest some things, but little did I know you had a convenient option already provided by OpenSSH
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:12 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,