
Easy SSH Connection
Source (link to git-repo or to original if based on someone elses unmodified work):
Support password authentication and private/public key authentication.
1.3
Added option for 'new tab' and 'new window'.Used maystar's patch which fixes KDE wallet issue. Thanks maystar.Server list is listed alphabetically.Server list in configuration dialog listed alphabetically.Changed switches to SSH command line
1.2
Added X-Plasma-NotificationArea=true in .desktop file.Moved ssh parameters before the hostname.New connection opening in an already running konsole as new tab.Now plasmoid find default wallet and using that.
1.1
Fixed: Plasmoid doesn't save configuration of all servers. Now plasmoid use own configuration file.
1.0
Fixed bug related with KDE 4.3 (tested on Fedora 12 - KDE4.3).In configuration dialog added switches line.
0.1b
Initial version
Ratings & Comments
52 Comments
I can't download the file, someone can share it. regards
This sounds like exactly what I need, and there doesn't seem to be anything similar. Is it ever going to come back? Does anyone know here it is? Can I get a copy from somewhere else?
I have clone it from github: $git clone https://github.com/vgevorgyan/easy-ssh-connect.git And after I have installed from the terminal, using the graphic way did not work for me (using ubuntu 13.04, kde 4.10): $plasmapkg -i easy-ssh-connect After this I could find it in the graphic application and add it to the desktop.
I upgraded my 11.4 openSUSE to 12.1 and now easy ssh plasmoid doesn't work anymore. > plasmoidviewer easy-ssh-connection-1.3.plasmoid "This object could not be created for the followin reason: Could not find requested component: easy-ssh-connection-1.3.plasmoid"
I've made a minor modification to open sftp connections in dolphin (main.py) ... def openSubMenu(self, action): self.selectedServer = action.data().toString() subMenu = QMenu() subActionGroup = QActionGroup(self) QObject.connect(subActionGroup, SIGNAL("triggered(QAction*)"), self.openConnection) action = QAction("ssh in new tab", self) action.setData(0) subMenu.addAction(action) subActionGroup.addAction(action) action = QAction("ssh in new window", self) action.setData(1) subMenu.addAction(action) subActionGroup.addAction(action) action = QAction("sftp", self) action.setData(2) subMenu.addAction(action) subActionGroup.addAction(action) subMenu.exec_(QCursor.pos()) def openConnection(self, action): if int(action.data().toString()) == 2: self.openSFTPConnection(action) else: self.openSSHConnection(action) def openSFTPConnection(self, action): server = self.servers[self.selectedServer] url = "sftp://" if server.login != "": url += server.login + "@" url += server.hostIP + ":" + str(server.port) + "/" subprocess.Popen(str("dolphin " + url), shell=True) ... Enjoy!
It looks like the download link is broken at the moment. I had to download and zip it up from git. Also, it would be very handy if it could pull a list of servers from konsole's bookmarks. Thanks much!
hi, thanks for your great plasmoid. it is maybe possible also to integrate sshfs to mount a special folder from the ssh server on the local machine? best regards gilde
When I add Easy SSH to my desktop I get the following message in the widget window: "Could not open the easy-ssh-connection package for the Easy SSH connection widget" I'm running Gentoo ~amd64. What is this easy-ssh-connection package ?
When I add Easy SSH to my desktop I get the following message in the widget window: "Could not open the easy-ssh-connection package for the Easy SSH connection widget" I'm running Gentoo ~amd64. What is this easy-ssh-connection package ?
This works pretty well. I just have one issue, the terminal width is somehow very small. So it keeps wrapping around. I looked in konsole help and do not see anything there. Anyone have any idea what option I can add to make it wider?
Hi. It works very well here, on a Kubuntu Lucid Linx 10.04 amd64. I love it. There is just a bug if you use the private key. In the main.rc file the login field dos not contain the username, but the complete path to the key.
I got around the problem writing, in the "Switches" field: -i /path_to_key selecting the "Password" checkbox and putting the password for the key in the field. Thank you again for the plasmoid!
The concept is fantastic. Im eagering to use it, but I was not able to. It does not work in Slackware 64 13.1, does not work on kubuntu 10.04 and does not work on kubuntu 10.10.
I'm using plasmoid under my kubuntu 10.10 and it's working well. Can you write what is the problem? not installing, not opening server list ... etc ?
I was using version 1.2 when I posted the previous comment, now I installed a stock Ubuntu 10.04.2 LTS, and installed the 1.3 version. I can add hosts, but cannot edit nor remove them (In 1.2 I was able to). The behaviour on connect is the same: When I select a host and choose new window, a new konsole window appears very quickly and vanishes. When I select a new tab and I have an existing konsole window, a new tab appears very quickly and then also vanishes. Is there a log anywhere? I monitored most files in /var/log, but couldnt find anything there. Any help will be greatly appreciated, Im looking forward to use your tool.
And now it is working perfectly. It was just a matter of restarting KDE after installing version 1.3. Excelent work, very useful tool! A suggestion: Implement an expect or REXX sintax aware field at the admin interface where you can put commands you want to run after connecting, for each connection. This would make this tool perfect.
I just noticed an annoying problem. It works perfectly only if you use konsole at the default 80x24 cols/rows text resolution. I always use a small font and maximize the konsole window to get higher text resolutions, and the konsole started by this plasmoid doesnt work right in higher texts resolutions. It overlaps characters when typing lines bigger than 80 chars, locks the 80x24 resolution inside console text editors leaving big areas unused/unscrolled (nano,pico,joe), and sometimes looses the text cursor.
I've modified runPassword.py to solve that problem, now it looks like this: import signal, termios, struct, fcntl,time global_pexpect_instance = None def sigwinch_passthrough (sig, data): # Check for buggy platforms (see pexpect.setwinsize()). if 'TIOCGWINSZ' in dir(termios): TIOCGWINSZ = termios.TIOCGWINSZ else: TIOCGWINSZ = 1074295912 # assume s = struct.pack ("HHHH", 0, 0, 0, 0) a = struct.unpack ('HHHH', fcntl.ioctl(sys.stdout.fileno(), TIOCGWINSZ , s)) global global_pexpect_instance global_pexpect_instance.setwinsize(a[0],a[1]) try: import pexpect import sys command = sys.argv[1] password = sys.argv[2] child = pexpect.spawn(command) signal.signal(signal.SIGWINCH, sigwinch_passthrough) global_pexpect_instance = child child.expect("assword:") child.sendline(password) child.interact() except ImportError: print "Module pexpect not found, please install pexpect package." i hope it works for you.
I've Slackware 13.0 and KDE 4.2.4 , succesfuly install the plasmoid but nothing happens when I've try to use it (I've add several servers in list but they did not show when I want to choose one)
Can you try to run plasmoid by plasmoidviewer? Just download plasmoid and in konsole type: Try to use and send error messages that you will see in konsole. Thank you for help, Vardan
great plasmoid. what's mean switches ?
First, thanks for the program - it does make life much easier. However I found an issue: if I connect to SSH server using this plasmoid then programs like less or mc become very hard to use if possible at all. In case of less only top and bottom line show any text, the rest of the screen stays black. mc turns into complete mess very quickly, text being out of place. I don't have this issues when I manually open konsole and ssh to server.
Hey, Great widget! Even really handy that new konsole tabs automatically logs on the last connected ssh server. Unfortunately the whole plasma desktop now waits for the kwallet password input, which is needed by the plasmoid. After entering the password the desktop starts indeed but it has just a few icons in the tray. Most of them are invisible because the icons haven't been loaded. I'm not shure whose fault this is but in my system this behavior started after installing the ssh easy connection plasmoid. If I restart plasma everything is fine again.
Hi This problem should be fixed on 1.3 version. Can you confirm that it was fixed? Thanks
It is really nice! Just two points: - still problems with finding the correct wallet (it always asks to open the non-standart one) - would be great if you could add a option, that no konsole window will be opened Good work. :)