«

»

May
16
2008

ksshmenu – A graphical SSH manager for KDE

» Deutsche Version

Sometimes it’s pretty annoying, being a system administrator. For example whenever you hear sentences such as “Can you quickly do a ‘/etc/init.d/apache2 restart’?“, followed by a stultifying work, opening 5 to 10 times a new tab in “konsole”, then logging in on each and drop the command through KDEs automatic session manager.

Of course that’s no way to deal with, for a impatient, lazy human, full of hybris like me. So I thought, I’m going to do some work now and have much less to type later. A night spent with C++ later “ksshmenu” went out, a little KDE kicker applet, that attaches itself to the desktop. Gnome users may use the more powerful and mature SSHMenu. Inspired from it, I wrote a minimal equivalent for KDE and the KDE terminal emulator konsole. Receiving some feedback by you and finding some time and caprice, I may add some missing features later.

Functionality and screenshots

Screenshots



Full screen with (automated) launched konsole sessions




menu view with nested groups




System dependent localisation (German end English) of the settings window.

Functions

  • context menu for servers, opening a konsole ssh-session reached my mouse click
  • Nested groups wich fits best for your needs. Place servers where ever you want
  • XML based configuration to be as flexible as possible
  • The possibility to open entire groups of servers within a tabbed shell and therefore controllable parallel within KDEs konsole.
  • Open Source (GPL 2)

Getting some interest, wishes and feedback by you, ksshmenu is of course still expandable. The application is also mostly untested, but works for me, but hey I follow the credo “release early, release often”.

Download

  ksshmenu-0.1.tar.bz2 (508.9 KiB, 2,263 hits)

  ksshmenu_0.1-1_i386.deb (44.9 KiB, 1,776 hits)

(I hope my English is understandable some way)

9 comments

1 ping

  1. Wedra says:

    Simply wonderfull!!!

    I made a little patch to use always one window

    — src-dist/ksshmenu.cpp 2008-05-16 17:48:39.000000000 0200
    src/ksshmenu.cpp 2008-09-27 11:24:16.000000000 0200
    @@ -41,6 41,7 @@
    ksshmenu::ksshmenu()
    : KSystemTray( 0, “ksshmenu” )
    {
    this->first = true;
    QString conf_file = QString(“%1/.ksshmenu.xml”).arg(getenv(“HOME”));

    this->loader = KGlobal::iconLoader();
    @@ -91,20 92,19 @@

    void ksshmenu::open_window(int elemid)
    {
    - this->comm->sendCommand(this->servers.at(elemid).name, this->servers.at(elemid).host, this->servers.at(elemid).user, this->servers.at(elemid).pass, true, “”);
    this->window = this->comm->sendCommand(this->servers.at(elemid).name, this->servers.at(elemid).host, this->servers.at(elemid).user, this->servers.at(elemid).pass, this->first, this->window);
    this->first = false;
    }

    void ksshmenu::open_all_windows(int elemid)
    {
    std::vector::iterator i;
    - QString window;
    - bool first = true;
    for( i = this->servers.begin(); i != this->servers.end(); i )
    {
    if ((*i).group.compare(this->servers.at(elemid).group) == 0 && ! (*i).is_group)
    {
    - window = this->comm->sendCommand((*i).name, (*i).host, (*i).user, (*i).pass, first, window);
    - first = false;
    this->window = this->comm->sendCommand((*i).name, (*i).host, (*i).user, (*i).pass, this->first, this->window);
    this->first = false;
    }
    }
    }
    diff -Naur src-dist/ksshmenu.h src/ksshmenu.h
    — src-dist/ksshmenu.h 2008-05-16 15:26:58.000000000 0200
    src/ksshmenu.h 2008-09-27 10:54:47.000000000 0200
    @@ -61,6 61,8 @@
    virtual ~ksshmenu();

    protected:
    QString window;
    bool first;
    std::vector servers;
    void mousePressEvent( QMouseEvent *e );
    KonsoleCommunicator * comm;

  2. Arno says:

    Thank you very much. That seems, however be a matter of taste. I do like the original method.

  3. Steve says:

    Hi, I’d like to make a FreeBSD port of this, but need somewhere I can download the .tar.gz file. The download link above doesn’t have a file name, just a directory name, which makes it difficult. Is there somewhere else to download?

    Thanks,
    Steve

  4. Arno says:

    You should not have problems to download that file using decent browsers. You may also try this link although this shouldn’t be necessary unless you use ancient versions of Internet Explorer.

  5. Doug says:

    I’ve been looking for something like this, but have a couple of issues.

    One is that I get a ‘timeout waiting for konsole’ error dialog. Running ksshmenu from a terminal shows stdout gets the message “konsole: Unknown option ‘script’.” on the same error.

    The second is how to handle ssh on a non-standard port.

    The original sshmenu was pretty much the main thing keeping me in gnome. I’m grateful you took the time to do something for kde!

    Thanks!

  6. antivirus software alert says:

    On a regular basis check the pc’s entire method. I enjoy to perform scans overnight because they decelerate your personal computer and could acquire a short time. Only when section of your pc program seems to be attacked, it is possible to scan the particular believe element only. In case you are by using a free of charge program, make certain it eliminates the particular viruses it’s discovered. A few of these free plans will recognize the actual dangers however need choose the program in order because of it to eliminate the problem. I think these particular applications should be removed and also exchanged by packages who have full performance.

  7. megapolis hack says:

    Contemporary society is often a man solution. Whenever J L Darcy
    stated ‘fevour will probably spread’ your woman never realize that
    in the event that 1 seriously intends to ‘not appraise some sort
    of e-book by it is cover’, the other must examine plenty of guides.
    Though deviating on the tradition will probably often lead to unrest amidst
    people friends, megapolis cheats is actually crunchy
    on the exterior nevertheless delicate at the center.

    Standing, Stability, Reputation : megapolis cheats, many revolve
    surrounding this ‘golden fleece’. Simply put, individuals just like megapolis cheats.
    The world can be influenced by simply provide as well as requirement.
    Many of us will probably primarily become working on the Inter-Spam design.
    Taking exclusive health care to identify the particular position involving megapolis cheats within the great platform which in turn this allows.

    Inflation

    my weblog – megapolis hack

  8. netflix says:

    ‘Brilliant’, ‘Quite Good’, ‘What? ‘, these are generally just
    some of this responses made not long ago
    inside the press with regards to free netflix account.
    Advancments in free netflix account can be related to quite a few locations.
    Remarkably free netflix account is usually heralded by means of shopkeepers and expenditure brokers similar, foremost several to state
    in which a few of the modern nearly all great thoughts seem
    incapable of ascertaining its increasing importance
    to help realizing upcoming generations. Mainly because it was first in comparison to
    antidisestablishmentarianism considerably has been mentioned
    concerning free netflix account with the second echelons involving
    gradual support market companies, to whom I am able to declare you can forget
    concerning because of lawful restrictions. Take it easy, sit
    back in addition to gasp when i screen the prosperous tapestries
    involving free netflix account.

    There is cultural in addition to institutional interdependence among
    associates involving any community. After Peter Pinkleton-PishPosh’s get back to The uk he
    / she remarked ‘class will probably refelect the actual inner hero’ [1], he / she
    had been evidently refering towards the result connected with free netflix account about current modern
    society. Although deviating through the tradition will certainly often cause unrest among types
    associates, free netflix account irons available misconceptions by your awareness.

  9. sims 3 hack says:

    Consider back to the very first time you at any time listened to
    of sims 3 cheats. There are a lot of elements which motivated the growth of sims 3 cheats.
    Cited by numerous as the one most essential impact on submit contemporary micro eco compartmentalism, sims 3
    cheats is featuring a lot more and a lot more in the
    ideals of the younger and upwardly cell. Typically it is noticed as the two
    a assist and a hinderence to the higher echelons
    of progressive support sector organisations, who are
    likely to kind a significant stronghold in the unavoidable fight for hearts and minds.
    Although I would instead be in bed I will now look at the principal leads to
    of sims 3 cheats.
    As Reflected in classical mythology culture is challenging.

    When blues legend ‘Bare Foot D’ remarked ‘awooooh eeee only my dawg understands me’ he borrowed considerably from sims 3 cheats.
    Far more a melody to societies dysfunctions than a parody of
    the self, sims 3 cheats irons out misconceptions from our
    consciousness.
    Some analysts have been tempted to disregard sims 3
    cheats. I have not. If society has a favorite youngster, it is sims
    3 cheats.

    Modern politics owes much to the animal kingdom.

    Evaluating the ideals of the youthful with the actuality felt by their
    elders is like contrasting sims 3 cheats and ones possess impression
    of themselves.
    It is usually enlightening to think about the words and phrases of jazz singer Achilles Lionel Forbes Dickinson ‘I don’t believe in ghosts, but I do feel in democracy.’ I couldn’t have place it much
    better my self. When it arrives to sims 3 cheats this is obviously accurate.
    To paraphrase, the estimate is expressing ‘sims 3 cheats wins votes.’
    Easy as that.
    I hope, for our sake that sims 3 cheats will endure.

    Also visit my blog :: sims 3 hack

  1. Linux connection manager « Linux T&T says:

    [...] connection manager Monocaffe Connections ManagerGnome Connection ManagerPAC ManagerSSHMenuksshmenuSecPanel Author: WladyX on 14 April, 2010 Category: General, Ssh Older: Restore hidden menu [...]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">