This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Right click menu to SSH to the address of the SFTP folder.

Tags: dolphin, ssh, sftp dolphin, ssh, sftp dolphin, ssh, sftp
(comma "," separated)
kodzghly
Registered Member
Posts
2
Karma
0
Hello everybody

I was wondering if there is a possibility of adding a right click menu action to open a terminal and put in the command to directly SSH to the IP of currently opened SFTP folder. For example I have opened an sftp folder root@example.org and I want to right click somewhere in the folder and among all the other options like create new file or Sort by.., properties etc. there would be an option to SSH on that server, so as I click it, it opens up some terminal emulator such as Konsole or Yakuake preferably and it executes ssh root@example.org command.

I'm sure this is possible, I just don't want to reinvent the wheel, so if anyone has a clue of how to do it properly, I would strongly appreciate it. I think it has something to do with ServiceMenus, but I am not fully sure how to set it up in a way it would do the thing I want.
User avatar
Section_8
Registered Member
Posts
61
Karma
0
OS
There may be a way to do this already: Dolphin Settings menu->Configure Dolphin->Context Menu tab, then click "Download New Services" and search for SFTP. One service shows up, but I'm not sure if it does what you want.
kodzghly
Registered Member
Posts
2
Karma
0
Unfortunately this only "works" if I right click in normal folder. If I click inside the network one, I get nothing.
The other option is to just create a sh script inside the network folder launching the terminal, but that is a bit unpractical.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]