Easy SSH Connection

Plasma 4 Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

9
Become a Fan
7.8

Description:
Plasmoid which allow you to connect your ssh servers by one click.

Support password authentication and private/public key authentication.
Last changelog:

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

dom87

I can't download the file, someone can share it. regards

ScottKnauss

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?

josedesoto

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.

Heart

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"

gmolina

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!

redmoustache

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!

Gilde

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

NismoC32

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 ?

NismoC32

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 ?

craffop

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?

alessio1972

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.

alessio1972

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!

nsj

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.

vgevorgyan

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 ?

normanschmidt

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.

normanschmidt

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.

normanschmidt

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.

sabutilnik

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.

boza

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)

vgevorgyan

Can you try to run plasmoid by plasmoidviewer? Just download plasmoid and in konsole type:

plasmoidviewer easy-ssh-connection-1.3.plasmoid
Try to use and send error messages that you will see in konsole. Thank you for help, Vardan

marthy

great plasmoid. what's mean switches ?

moonwalker

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.

maystar

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.

vgevorgyan

Hi This problem should be fixed on 1.3 version. Can you confirm that it was fixed? Thanks

Naraku

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. :)

Pling
0 Affiliates
Details
license
version 1.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0