I recently tried to use ssh tunneling to mount a remote samba filesystem. I wrote a one line shell script to execute ssh tunneling and then I used finder to mount the remote samba server. Although I like CLI most of time, I do like to find a different way to do the same thing. I read this document about using applescript to run shell scripts. I also found that it seemed easy to build a GUI program with Xcode/Applescript (ref). I decided to give it a try to wrap my simple shell scripts with a GUI. Now, with few clicks, I can automatic mount my remote samba server and edit and process remote file with OS X applications. It is very convenient for telecommuting. The development environment for OS X is indeed cool!
If you like to try the very simple application, you can download
the source code, SambaTunneling.zip, and modify the code to suit your need. Unfortunately, you do need to have some simple knowledge about applescript and shell script to read and modified the code. However, if you know some simple programming, it would be easy to add any function you like