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

kate/konqueror no longer lookign for ssh key

Tags: kate kate kate
(comma "," separated)
daum
Registered Member
Posts
5
Karma
0
OS
I'm on kate 4.4.5 and it seems it isn't using my ssh key. It keeps asking me for a password when i open over sftp. I upgraded from an old version(not sure what version it was), but it was working before the upgrade. If I ssh in the terminal the key works fine. Both kdebase-kioslaves and kdate have the sftp flags enabled.

Thanks,
Daum
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
When prompted, what does the "Username" field say? Does it match the text you normally recieve when running ssh?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
daum
Registered Member
Posts
5
Karma
0
OS
I use it as sftp://daum@somesite.com when it pops up asking the username/password it has the username prepopulated with daum.

Daum
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
On my trunk system, running "dolphin sftp://ben@nexus/" worked fine ( Nexus is my home server )

My key has been added to my SSH agent however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
daum
Registered Member
Posts
5
Karma
0
OS
I tried that command and had the same problem. Does KDE now require i use ssh-agent?

Daum
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Whilst I do not know if it is required ( it wasn't last time I tested a few months ago ), it does seem to work fine if the key is in the agent.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
daum
Registered Member
Posts
5
Karma
0
OS
Hmmm, how are you starting your ssh-agent and then using dolphin? I tried doing it, but had no luck.
daum
Registered Member
Posts
5
Karma
0
OS
Figured it out! It was that it seems that libssh requires you have the public key in addition to the private key in your ssh folder. Figured it out from here: http://old.nabble.com/-Bug-227368--New% ... 24582.html
gladiac
Registered Member
Posts
2
Karma
0
If you have a recent version of libssh and the public key doesn't exist it will automatically create it. It's simply a bad design that the private and public key aren't stored in the same file. It is needed for authentication to avoid that you get asked for each passphrase protected private key. This would be annoying.


Bookmarks



Who is online

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