Bug 121620

Summary: Konsole should have support for SSH in sessions/bookmarks
Product: [Applications] konsole Reporter: Justin Sheckler <self>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.6   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Justin Sheckler 2006-02-08 22:29:16 UTC
Version:           1.6 (using KDE 3.5.0 Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15.7-default

At my job I deal with ~30 servers using SSH.  I have a bunch of Konsole sessions defined with "ssh me@server" as the "exec".  The problem with this is that if I try to bookmark a remote location, I just get "/home/me" as the bookmark.

It would be great if Konsole could somehow be aware of my SSH session and bookmark the remote location instead.
Comment 1 Justin Sheckler 2006-02-08 22:39:42 UTC
Sorry, I just discovered that I can add "ssh://me@server" bookmarks to Konsole manually.  But, even using the "new secure shell" option, the "add bookmark" action creates the wrong bookmark.
Comment 2 Kurt Hindenburg 2006-02-09 06:01:03 UTC
The bookmarking uses the current directory.  That is why you get /home/me.  I'm not sure how Konsole could figure out what ssh command you used for the bookmark.
Comment 3 Justin Sheckler 2006-02-17 02:06:37 UTC
I thought there was some sort of xterm feature that reports the cwd?
Comment 4 Robert Knight 2007-02-10 03:13:16 UTC
> I thought there was some sort of xterm feature that reports the cwd? 

If you can do the research into the available methods for this then the feature is more likely to get implemented.
Comment 5 Freddie Cash 2007-04-14 00:54:59 UTC
As a follow-on to this, is it possible to associate a bookmark with a session in a profile?  Such that starting the profile will open all the sessions (tab) *and* execute the associated bookmark?

For instance, one could have a profile that opens 20 sessions, all with nicely named tabs.  Each tab would have a bookmark associated with it that connects to a remote server via SSH.

Cheers,
Freddie
Comment 6 Robert Knight 2007-05-08 00:29:30 UTC
Implemented in KDE 4.  Its not clever enough to know what directory on the remote machine you were at, but it will identify the username and host passed to SSH.