
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Plasmoid which allow you to connect your ssh servers by one click.
Support password authentication and private/public key authentication.
9 years ago
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
9 years ago
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
dom87
4 years ago
Report
ScottKnauss
9 years ago
Report
josedesoto
7 years ago
$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.
Report
Heart
9 years ago
> 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"
Report
gmolina
9 years ago
...
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!
Report
redmoustache
9 years ago
Also, it would be very handy if it could pull a list of servers from konsole's bookmarks.
Thanks much!
Report
Gilde
9 years ago
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
Report
NismoC32
9 years ago
"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 ?
Report
NismoC32
9 years ago
"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 ?
Report
craffop
9 years ago
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?
Report
alessio1972
10 years ago
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.
Report
alessio1972
10 years ago
-i /path_to_key
selecting the "Password" checkbox and putting the password for the key in the field.
Thank you again for the plasmoid!
Report
nsj
10 years ago
Report
vgevorgyan
9 years ago
Can you write what is the problem? not installing, not opening server list ... etc ?
Report
normanschmidt
9 years ago
Report
normanschmidt
9 years ago
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.
Report
normanschmidt
9 years ago
Report
sabutilnik
9 years ago
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.
Report
boza
10 years ago
Report
vgevorgyan
9 years ago
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
Report
marthy
10 years ago
what's mean switches ?
Report
moonwalker
10 years ago
Report
maystar
10 years ago
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.
Report
vgevorgyan
9 years ago
This problem should be fixed on 1.3 version.
Can you confirm that it was fixed?
Thanks
Report
Naraku
10 years ago
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. :)
Report