After reading Gary Vaughan’s recent blog post on MacBook Installation Applications 101, i decided to check out one of the tools he mentioned called SSH Tunnel Manager.

SSH Tunnel manager is a rather nifty tool which allows you to manage a list of SSH tunnels, which basically securely forwards ports on your own machine to a remote one.
So for example, if i had an administration control panel running on my web server, i might want to make it so that i could only connect to it locally (so there would be practically no chance of anyone on the internet accessing it).
But i would still want to access it remotely, and the only way for me to do that is make an SSH tunnel which acts as if i am connecting locally on the machine, when in reality i am not.
Any would-be hacker would need to figure out the login details on my SSH server in order to have a chance of accessing the control panel.
Now whilst this app was great, i noticed something a bit disturbing about it. It turns out that its been quite a while since it was last maintained, and thus it it still a PPC binary, meaning if i run it on my brand new shiny Intel mac, i have to let Rosetta run, which is memory hungry and gobbles up precious CPU time!
Luckily, the developer also provided the source code to the application. So the solution was obvious: i needed to recompile this application as a Universal Binary, which means it will run natively on both PPC and Intel mac’s.
This didn’t end up being very hard, i.e.:
- Download and unpack the source code
- Open the project file in XCode (converting it to the new format)
- Replace the ssh executable in the resources with the version from /usr/bin
- Set the configuration to “Deployment” and build
- Run it and hope it works
Thankfully for me, it built properly (with the exception of a few warnings, though they didn’t look too serious). So now i have a nice and shiny native version of the SSH Tunnel Manager on my mac.
In case anyone doesn’t want to go through the 5 step solution, or perhaps you don’t have XCode installed on your machine, here is a copy for you to download.

Viewing 2 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Trackbacks
(Trackback URL)