SSH Launcher 1.0

UUID: sshlauncher@sumo
Score: 4

Download



Launch SSH sessions defined in the ~/.ssh/config from an applet. Edit ~/.ssh/config from the menu. Applet monitors this file and keeps the menu up to date. Toggles available for background ssh (-fN) and X forwarding (-X).

Installation

Download and unzip.

cd cinnamon-ssh-launcher/

./install.sh

TODO:

Report SSH launch errors (e.g. ~/.ssh/config does not have the right permissions)

Allow Quick Connect and add quick connected hosts to config

Get the current terminal from gsettings ->org.gnome.desktop.default-applications.terminal->exec and use that instead of gnome-terminal

About The Author

sumo


5 Comments

  1. jander says:

    Useful applet, however to make it truly useful you need to move away from the whole .ssh/config usage and use your own configuration file. This will allow you to do nice things like - Host grouping - Terminal/applet section colour per group/host - Different usernames per host or a different username per group - Multiple terminal launch per group For example, at work I have 20 different hosts, and each of them belongs to a logical group and are similarly named, so the options mentioned would make the applet awesome.

  2. oinophilos says:

    I've tried it on cinnamon 1.5.2 (package for debian wheezy) but it doesn't work: The menu is empty, there aren't the entries "Edit ssh config", ecc.... Walter

  3. isleshocky77 says:

    I just wanted to chime in and say I disagree with @jander. I love the fact that this is built off .ssh/config. I have all of my setup on this because it can be used for autocomplete on the cli. The fact that it builds this menu is awesome.

  4. Great! just a bit improvements 1) at line 68 use grep -h "^Host " .ssh/config /etc/ssh/ssh_config 2>/dev/null instead of grep "^Host " .ssh/config so you also can work with global defined ssh configuration 2) enable ssh-add at line 111 insert the following lines: sshAdd: function() { Main.Util.spawnCommandLine("ssh-add"); }, at line 88 insert the following lines: let menuitemSshAdd = new PopupMenu.PopupMenuItem("Ssh-add"); menuitemSshAdd.connect('activate', Lang.bind(this, this.sshAdd)); this.menu.addMenuItem(menuitemSshAdd); Then restart cinnamon

  5. roberto99 says:

    hi all, could somebody tell me how to fill out the config file? any example to follow? thanks, Roberto