I am currently using Mac OS X Mavericks in a professional network where there is a difference in access between the Ethernet and WiFi networks. Specific to my case, when using the WiFi connection I can use SSH for my GitHub needs, but for internal git repositories I need to use the Ethernet connection to be able to access them.
Is it possible to configure my machine such that any (SSH) traffic to GitHub uses the WiFi connection, but all other traffic uses the Ethernet connection?
The system administrators are unwilling to unblock outbound SSH traffic on the Ethernet network, citing the availability of the unrestricted WiFi connection as one of their motivations. This works fine and it's possible to switch off the WiFi when I'm not using it, or unplug the Ethernet when I don't need internal resources, but this can get fairly tedious.
Halfway through implementing the offered solution I've found a different solution for my issue, apparently it's possible to use SSH over the HTTPS port and this works within my situation. I'll leave the question here for any others.