jump to navigation

SSH Menu – Save and Open SSH Connections from the Panel August 17, 2007

Posted by Carthik in applications, gnome, packages, ubuntu.
trackback

I was looking for a replacement for SecureCRT in Ubuntu. Something that would let me save all my SSH connections and make it possible to open a connection with the least effort.

As is often the case, I found something better than SecureCRT – a panel applet for GNOME that gives me a drop-down list of SSH connections. SSHMenu is cool, way too cool.
SSH Menu

Above, you can see my list of ssh accounts in all their glory. A connection is just a click away.

When you set up the connections, you can specify the geometry – ie, where on your desktop you want the gnome-terminal window to pop up, as well as a “profile” for the gnome-terminal instance – very handy if you want to have different color schemes for different ssh accounts to be able to distinguish between them better.
SSH Menu Options

What’s even better is, in the “Hostname (etc)” field, you can prepend ssh options to the hostname. The figure below shows my port forwarding setup for IRC at school, since I can’t chat using port 6667 at school.
SSHMenu Account Options

There’s a Debian/Ubuntu repository for SSHMenu, and of course, nothing stops you from downloading the .deb packages and installing them if you don’t wish to add another repository to you list of repositories. I wonder how long before SSHMenu finds itself into the Ubuntu repositories :)

Once you get SSHMenu installed, you can add it to your panel by right-clicking on your GNOME panel, and selecting “Add to Panel”. SSHMenu should be listed as “SSH Menu Applet” under the “Utilities” section. Then all you have to do is use the tool to add accounts that pops-up when you install the applet, or add the accounts later by clicking on the “SSH” in your panel. However, this still doesn’t take us to “one-click” login, since you will be prompted for your password by the server you are trying to connect to.

To make the connections truly one-click (or two-click), you might want to setup password-less logins using ssh-keygen and ssh-copy-id. A quick overview of that process follows:
On your local computer, type:
$ssh-keygen -t rsa
When prompted for a password, you may want to enter none. If you enter a password there, you will have to enter it everytime you try to use the “passwordless” login, which kind of defeats the purpose.

Enter a password here. Then when you try to connect to the accounts using SSHMenu, you will asked for the password only once, the very first time. (Thanks to Grant, SSHMenu’s author for the explanation in the comments).

Once your RSA key-pair is generated, you need to add the public key to your server’s ~/.ssh/authorized_keys file. You can do this very easily by typing (on your local computer):
$ssh-copy-id ~/.ssh/id_rsa.pub username@example.com
This will copy your public key for the just-generated RSA keypair to the example.com ssh account, where your username is “username”.
Of course, for this passwordless login to work, the server needs to accept this method of authentication. There’s an old article at the Debian Administration blog that describes the process in a little more detail, and countless others have written about this, so you won’t have trouble finding info.

Comments»

1. gouki - August 17, 2007

Good find! Thank you.

2. TuxFeed › SSH Menu - Save and Open SSH Connections from the Panel - August 17, 2007

[...] applet for GNOME that gives me a drop-down list of SSH connections. SSHMenu is cool, way too cool. (more…) This was written by . Posted on Saturday, August 18, 2007, at 1:37 am. Filed under Ubuntu. [...]

3. A - August 17, 2007

Instead of the password-less login, use the ssh-agent.

Give a password for your key, and add the ssh-agent it to your Gnome session and run ssh-add before your first ssh session.

And thats it, try to ssh from any terminal inside gnome and no password is required!

This also works for Nautilus “Connect to Server” using SSH. Not sure if it will work with SSH-Menu.

4. A - August 17, 2007

Keys+ password is safer than password-less login, but don’t forget to lock your screen if you step away from your machine.

5. Jonathan Jesse - August 17, 2007

Is there a KDE version of this applet? That would be sweet…

6. Tristan Rhodes - August 17, 2007

That tool looks like it will be quite useful. I manage hundreds of Cisco switches, and the sub-menus should allow me to catagorize the devices.

Thanks for letting us know about it!

7. Carthik Sharma: SSH Menu - Save and Open SSH Connections from the Panel // The Linux Index - August 17, 2007

[...] applet for GNOME that gives me a drop-down list of SSH connections. SSHMenu is cool, way too cool. (more…) Share and Enjoy: These icons link to social bookmarking sites where readers can share and [...]

8. Stoffe - August 17, 2007

Ruby. People who tote Python just haven’t tried it. :) (And yes, I have a good number of Python programs under my belt).

Awesome find!

9. Juri Pakaste - August 18, 2007

I’ve found I’m happy enough with a submenu in my Gnome main menu and creating menu entries there by hand. gnome-terminal’s profile feature can be used to launch ssh automatically. Allows me to avoid having yet another applet in a crowded menu bar.

10. Top Posts « WordPress.com - August 18, 2007

[...] SSH Menu – Save and Open SSH Connections from the Panel I was looking for a replacement for SecureCRT in Ubuntu. Something that would let me save all my SSH connections and […] [...]

11. damokles - August 19, 2007

Let me add that I think, most people underestimate .ssh/config in combination with bash completion. When having a fine .ssh/config-file and bash completion enabled you are a heave command line ssh user. All you have to do to connect is to type “ssh (letter)[TAB]” and you get a list of possible targets. Of course you can use aliases for connections instead of hostnames and also use these names for scp and even other applications like svn clients using ssh (!). This saves you a lot of time and it’s only one text file readable by every openssh client everywhere you are.

Here is an example for a .ssh/config:

http://www.ubuntuusers.de/paste/13952/

You see how easy it is to add options for usernames, tunneling and stuff. Even a global section (*) is available.

So all you have to do after having switched on bash completion (if you don’t know how, just type “source /etc/bash_completion”) you can type “ssh test1″, “ssh t[TAB]2″ and so on for connection or using urls like svn+ssh://test1/ in svn applications and so on.

So though I know how nice it is to have a gui the only perfect gui would be the one enabling you to manage and use .ssh/config – every non standard config file is – in my eyes – a waste of time as you are starting to duplicate efforts.

12. Grant McLean - August 19, 2007

When you use ssh-keygen, you definitely should enter a passphrase – even if you want password-less logins. The first time you connect to a host using SSHMenu, it will prompt for your password to unlock the key and add it to your agent. Each connection after that will proceed without a password prompt.

SSHMenu also provides an option to remove the key from your agent.

13. carthik - August 20, 2007

Hi Grant – First off, thanks a LOT for SSHMenu. You rock.

Second – thanks for that bit about SSHMenu saving the password – that is real neat, too. I updated the post to note this.

14. Nathan - August 21, 2007

This sounds like a great app for those of us that use ssh on daily basis. Can’t wait to give it spin!

15. macsim - August 22, 2007

$ssh-copy-id ~/.ssh/id_rsa.pub username@example.com

Should be

$ssh-copy-id -i ~/.ssh/id_rsa.pub username@example.com

16. golemlist - August 22, 2007

another feature i really miss from securecrt is zmodem upload/download, any idea of how it could be used natively in a ssh session?
thanks
g.

17. ProductiveLinux » SSH with the Click of Button on Your Taskbar - September 15, 2007

[...] about some SSH tips in the comments? Full Story: SSH Menu – Save and Open SSH Connections from the Panel Share and Enjoy: These icons link to social bookmarking sites where readers can share and [...]

18. Abre conexiones SSH desde el panel de Ubuntu con SSHMenu at Alejandrox - November 21, 2007

[...] Fuente: Ubuntu blog. [...]

19. Ubuntu Index » Blog Archive » SSH Menu - Save and Open SSH Connections from the Panel - December 7, 2007

[...] As is often the case, I found something better than SecureCRT – a panel applet for GNOME that gives me a drop-down list of SSH connections. SSHMenu is cool, way too cool. (more…) [...]

20. Ubuntu Index - All things Ubuntu » Blog Archive » SSH Menu - Save and Open SSH Connections from the Panel - December 10, 2007

[...] applet for GNOME that gives me a drop-down list of SSH connections. SSHMenu is cool, way too cool. (more…) Share and Enjoy: These icons link to social bookmarking sites where readers can share and [...]

21. Linux T&T » Blog Archive » SSH Menu - January 22, 2008

[...] SSH Menu – Save and Open SSH Connections from the Panel « Ubuntu Blog [...]

22. SSH Menu - Save and Open SSH Connections from the Panel | Blog Feed Aggregator - March 19, 2008

[...] Post by Carthik. Read full post. [...]

23. Celebrity - April 5, 2008

Thanks dude

24. hara - October 31, 2008

If you are on kde you can run alltray ssh menu. except that each time you click on it a windo pops up. You have to select your host from it.

25. hara - October 31, 2008

sorry that was “alltray sshmenu”

26. All about Sebastian » Nie mehr endlos SSH Connectionstrings eingeben dank SSHMenu - November 11, 2008

[...] Wieder einmal danke an http://ubuntu.wordpress.com [...]

27. Mike - February 14, 2009

This is a great find. We manage a number of on-line servers and this tool will help in the effort.
Thanks

28. UbuntuIsCool - May 18, 2009

SSHMenu is far away from being close to SecureCRT. The key feature of secureCRT is the login script ability + the send the command to all tab (available on koncole). But you can’t compare sshmenu with SecureCRT, because secureCRT is much better.

29. yacht rental - October 6, 2009

This sounds like a great app for those of us that use ssh on daily basis.

30. Red44 - October 22, 2009

Very young children should not watch this movie, but those of a more mature demeanor should be allowed to watch it with a parent. ,

31. driver19 - October 23, 2009

These must be regrded as technology previews but also must be in very good shape and ve extremely easy to package. ,

32. Alquiler de yates de lujo - October 23, 2009

As is often the case, I found something better than SecureCRT – a panel applet for GNOME that gives me a drop-down list of SSH connections.

33. Alquiler de yates de lujo - October 23, 2009

This also works for Nautilus “Connect to Server” using SSH. Not sure if it will work with SSH-Menu.

34. Yacht rental - October 23, 2009

Enter a password here. Then when you try to connect to the accounts using SSHMenu, you will asked for the password only once, the very first time. (Thanks to Grant, SSHMenu’s author for the explanation in the comments).

35. Jeremyb's Blog - November 11, 2009

[...] By j3r3myb I recently upgraded to Ubuntu 9.10 and I found this this site that shows an easy way to manage multiple SSH connections. [...]

36. sikiş - November 13, 2009

thans nice

37. oyun oyna - November 17, 2009

en güzel oyunlar burada.en güzel oyunlar

38. Divx İzle - November 17, 2009

thanks you very very thanks you.

39. Alquiler de yates - December 26, 2009

…] By j3r3myb I recently upgraded to Ubuntu 9.10 and I found this this site that shows an

40. yacht rental - December 26, 2009

I recently upgraded to Ubuntu 9.10 and I found this this site that shows

41. Chuck Findlay - April 4, 2010

Finally! I’ve been searching for a menu like this forever, and still have yet to figure out why it was so hard to find one…

42. perseo22 - April 12, 2010

Well, if you find “SSH Menu” somewhat useful, check “PAC Manager” at:

http://sourceforge.net/projects/pacmanager/

43. BC316 - May 13, 2010

Instead of automatically adding my username to be used as the login ID. Can I have it prompt for a username?

44. Alquiler de barcos en Ibiza - May 19, 2010

There’s an old article at the Debian Administration blog that describes the process in a little more detail, and countless others have written about this, so you won’t have trouble finding info.

45. travesti - June 29, 2010

chen sample post you

46. travesti - June 29, 2010

ss menu save and open travesti

47. Alquiler de barcos en Ibiza - August 2, 2010

Let me add that I think, most people underestimate .ssh/config in combination with bash completion. When having a fine .ssh/config-file and bash completion enabled you are a heave command line ssh user. All you have to do to connect is to type “ssh (letter)[TAB]” and you get a list of possible targets. Of course you can use aliases for connections instead of hostnames and also use these names for scp and even other applications like svn clients using ssh (!). This saves you a lot of time and it’s only one text file readable by every openssh client everywhere you are.

48. Alquiler de barcos en Ibiza - August 14, 2010

Once you get SSHMenu installed, you can add it to your panel by right-clicking on your GNOME panel, and selecting “Add to Panel”. SSHMenu should be listed as “SSH Menu Applet” under the “Utilities” section. Then all you have to do is use the tool to add accounts that pops-up when you install the applet, or add the accounts later by clicking on the “SSH” in your panel. However, this still doesn’t take us to “one-click” login, since you will be prompted for your password by the server you are trying to connect to.

49. Alquiler de barcos en Ibiza - August 27, 2010

Give a password for your key, and add the ssh-agent it to your Gnome session and run ssh-add before your first ssh session.

And thats it, try to ssh from any terminal inside gnome and no password is required!

This also works for Nautilus “Connect to Server” using SSH. Not sure if it will work with SSH-Menu.

50. Alquiler de barcos en Ibiza - August 30, 2010

You have to select your host from it.

51. Alquiler de barcos en Ibiza - September 18, 2010

hanks you very very thanks you.

52. Alquiler de barcos en Ibiza - September 21, 2010

If you are on kde you can run alltray ssh menu. except that each time you click on it a windo pops up.

53. sikiş izle - September 26, 2010

Keys+ password is safer than password-less login, but don’t forget to lock your screen if you step away from your machine.

54. antalya ilaçlama - September 27, 2010

That tool looks like it will be quite useful. I manage hundreds of Cisco switches, and the sub-menus should allow me to catagorize the devices.

55. perseo22 - September 27, 2010

I repeat: please, take a look at PAC Manager (http://sourceforge.net/projects/pacmanager/)

56. porno sikiş - September 27, 2010

You see how easy it is to add options for usernames, tunneling and stuff. Even a global section (*) is available.

57. sex sikiş - September 28, 2010

about some SSH tips in the comments? Full Story: SSH Menu – Save and Open SSH Connections from the Panel Share and Enjoy: These icons link to social bookmarking sites where readers can share and

58. Ubuntu Guy - October 28, 2010

Hey thanks for this post! I have been wondering how to do this. Right now I have been ssh-ing the old fashioned way, and keeping all of my connection notes in a text file.

Yes I will be installing this on all of my Ubuntu workstations.

59. SRIKANTH KV - November 30, 2010
60. sibel kekilli - December 10, 2010

I’ve found I’m happy enough with a submenu in my Gnome main menu and creating menu entries there by hand. gnome-terminal’s profile feature can be used to launch ssh automatically. Allows me to avoid having yet another applet in a crowded menu bar.

61. izmir escort - January 9, 2011

I’ve found I’m happy enough with a submenu in my Gnome main menu and creating menu entries there by hand. gnome-terminal’s profile feature can be used to launch ssh automatically. Allows me to avoid having yet another applet in a crowded menu bar.

62. SSH Menu – сохраняйте и открывайте ssh подключения прямо с панели | SUDOuser.org - January 23, 2011

[...] Источник Posted under Аплеты панели GNOME and tagged with SSH, Аплет, Аплеты панели GNOME, Индикатор Comments (0) [...]

63. lanyards - February 7, 2011

I’ve been studying your entries all over my morning break, and I will have to admit the whole article has been very enlightening and rather well written. I assumed I might assist you to know that for some reason why this weblog does no longer view neatly in Web Explorer 8. I desire Microsoft may forestall changing their software. I have a query for you. May you thoughts exchanging weblog roll links? That might be in point of fact neat!

64. amarjutatorgaal - June 21, 2011

Im new to UBUNTU. Installed the latest one. Which version is this in the image? I like the theme and the font. Please let me know. btw i got a problem. After updating or installing the GPU driver it wont boot and hanged at the purple screen. Any idea? I tried the recovery mode but didn’t work.

65. arkadaş - July 23, 2011

UBUNTU Im yeni. Son Yüklendi. Bu resimde hangi sürümünü? Ben tema ve yazı tipi gibi. Lütfen bana bildirin. btw i bir sorun var. GPU sürücü güncelleme ya da kurduktan sonra önyükleme alışkanlık ve mor ekranında idam. Herhangi bir fikir? Ben kurtarma modunu denedim ama işe yaramadı.

66. ukrayna vizesi - July 30, 2011

İYİ

67. arkadaş - August 5, 2011

teşekürler bilgi için elinize sağlık

68. antalya böcek ilaçlama - August 7, 2011

antalya ev ilaçlama

69. x factor blog link - November 25, 2011
70. Lox - March 6, 2012

Any plan to make it an indicator applet for gome 3?

71. SSH Menu – Save and Open SSH Connections from the Panel | Ubuntu Info - James n Sheri.comUbuntu Info – James n Sheri.com - May 1, 2013

[...] SSH Menu – Save and Open SSH Connections from the Panel [...]

72. http://www.omasexpornos.com/ - September 10, 2013

Danke für den Post

73. Plans Of Kaspersky Promo Code - Some Thoughts - October 21, 2013

I have been exploring for a little bit ffor any high-quality artticles or weblog posts in this sort of area .
Exploring in Yaho I at last stumbled upon this website.
Reading this info So i am glad tto convey that I’ve a very just right
uncanny feeling I came upon exactly what I needed.
I so much indisputably will make certain to don?t overlook this site and
give it a look on a continuing basis.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 517 other followers

%d bloggers like this: