Registered Member
|
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 |
Administrator
|
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] |
Registered Member
|
I use it as sftp://daum@somesite.com when it pops up asking the username/password it has the username prepopulated with daum.
Daum |
Administrator
|
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] |
Registered Member
|
I tried that command and had the same problem. Does KDE now require i use ssh-agent?
Daum |
Administrator
|
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] |
Registered Member
|
Hmmm, how are you starting your ssh-agent and then using dolphin? I tried doing it, but had no luck.
|
Registered Member
|
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
|
Registered Member
|
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.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]