I have an ethernet connection which is restricted for a lot of ports (the most annyoing is port 22 -ssh- ).

I now have a Wifi connection which is unrestricted.

I want to tell to my mac, each time i use the port 22 via the terminal, to use the WIFI and in the other case, to use the Ethernet connexion.

Is there a way to do this ? (MBP Retina end 2013, OSX 10.9.4)


The answer is :

ssh -b bind_address_of_wifi_ip ......
  • how did you find that solution?
    – Ruskes
    Jul 1 '14 at 15:55
  • It is in man ssh
    – mmmmmm
    Jul 1 '14 at 16:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .