Do you have an extensive list of hosts configured for quick access in SSHMenu? Are you bothered by the fact that Ubuntu just threw SSHMenu out of their 11.10 repositories? Looking for an alternative?
There aren't many SSH connection managers in the Ubuntu repos. The one that looks most promising to me is Remmina, and in fact I already used it to manage my RDP and VNC connections. As I didn't want to configure all of my hosts manually in Remmina, I wrote a simple Python script that imports SSHMenu bookmarks to Remmina. Read the script's docstring to get an impression:
Convert a SSHMenu configuration found in ~/.sshmenu to Remmina host configuration snippets in ~/.remmina. The folder structure is created within a "SSHMenu" folder. Remmina must be restarted after running this script. The "geometry" and "profile" parameters are dropped as these aren't configurable in Remmina. The "sshparams" parameter is split into a host and a command part. This script creates Remmina configuration files with a "sshmenu_" prefix. If you want to get rid of them, just run "rm ~/.remmina/sshmenu_*.remmina" and restart Remmina again. As you can see, this script is fairly simple. Please read the code before using it to make sure it will do what you want. Tested with SSHMenu 3.18 and Remmina 0.9.3. 2011-09-17 Ulf Rompe http://ulf.rompe.name/
Feel free to use the attached script for your needs. Just safe it as "sshmenu_to_remmina.py", read and understand it, make sure to "apt-get install python-yaml" and run it with "python sshmenu_to_remmina.py". If it doesn' work, drop me a line.
| Attachment | Size |
|---|---|
| sshmenu_to_remmina.py.txt | 2.66 KB |