SSH (and tunnel) In One Click of a Mouse
      by Wyatt WalterI can’t believe I haven’t seen this tool before. Worse yet, I can’t believe how much time I must have wasted SSH’ing to hosts. Tonight I discovered SSHMenu for Gnome.
I’m a systems administrator on a mostly Linux network (but with a few Windows hosts). Given that, I rely on SSH a lot. A lot, as in you probably wouldn’t catch me not SSH’d into something at any moment during my work day.

SSHMenu
I do find that I tend to SSH into the same machines over and over again as well as have a few ports that I forward through the firewall that are not exposed to the outside of our DMZ. With SSHMenu, I can not only save a set of the machines that I log into often, but I can also pass options like port forwarding and others.
To get SSHMenu, you’re just a sudo apt-get install away:
sudo apt-get install sshmenu-gnome
To enable it, you’ll need to add it to your Gnome panel by right clicking on the panel and going to the “Add to panel..” window.

Add to panel window
You can then begin adding hosts in the SSHMenu preferences. The program passes the options you include in the hostname field into the SSH utilitiy so you can insert things like usernames and options as you please. For me, I setup my tunnels so I don’t have to type them in all the time. The one that I saved went a little something like this (with hostnames modified to protect the innocent):
user@host.domain.com -L 8888:windowshost.domain.com:3389
With a couple of clicks of a button I can be not only SSH’d in, but have a tunnel setup to connect via my RDP client (for my example).
Tags: linux, ssh, ubuntu
Filed under How-Tos / Tips :
Comments (4) :
Jul 15th, 2009
Pingback: More Tab Complete Awesomeness on Ubuntu 9.04 | What a n00b!