Bug 253894 - Put and convert parameters in the URL of the bookmarks to programs like ssh
Summary: Put and convert parameters in the URL of the bookmarks to programs like ssh
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.4.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 23:08 UTC by Sven Jörns
Modified: 2011-06-21 15:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Jörns 2010-10-11 23:08:40 UTC
Version:           2.4.2 (using KDE 4.4.2) 
OS:                Linux

It's not really a bug, but it would be a nice feature.
What I try:

I want to use the bookmarks to connect to servers with ssh, but I'm using (different) keys to connect. So I want to use the ssh parameter -i to use a key.
When I try to write this as an URL String like this: 
ssh://user@myserver.org?i=%24HOME%2FDocuments%2Fkeys%2FFserver1-ssh2-rsa.ssh
Konsole doesn't convert the parameters like
ssh@myserver.org -i $HOME/Documents/keys/server1-ssh3-rsa.ssh
This would be nice.





Reproducible: Always
Comment 1 Kurt Hindenburg 2011-03-13 21:34:37 UTC
Git commit 42e7686769154dc0ecd2265b5b1baca2739fca6b by Kurt Hindenburg.
Committed on 13/03/2011 at 20:53.
Pushed by hindenburg into branch 'master'.

Allow user to enter commands as bookmarks.

Previously, bookmarks where converted to KUrls and then only protocols
Konsole knew about internally were processed.  Now if a bookmark has no
KUrl protocol, Konsole just sends the bookmark to the shell.
This will solve issues such as 'ssh user@server -p port tail -f file'
as well as allowing any command to be a bookmark.

BUG: 88867
BUG: 203263
BUG: 253894
BUG: 185962
BUG: 213644
FIXED-IN: 4.6.2

M  +8    -0    src/SessionController.cpp     

http://commits.kde.org/konsole/42e7686769154dc0ecd2265b5b1baca2739fca6b
Comment 2 Chris Bandy 2011-06-21 15:53:49 UTC
This was not fixed in 4.6.2. The referenced commit is missing from the tarballs for 4.6.2, 4.6.3 and 4.6.4.