![]() Registered Member ![]()
|
heya,
I'm just in the process of rotating my SSH keys - before, I had a passphrase-less one, now I've got a new one with a passphrase. Anyhow, my keys are in ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub. Anyhow, I was just wondering, how I should get the sftp:// and fish:// kio slaves to work with the new passphrase keys? When I tried sftp://, it did seem to prompt me for a username/password, which it didn't before, when I was using a passphrase-less. (Also, should there be a difference between fish and sftp here?) Does Kwallet support remembering my key passphrase for me? I did notice there was a bug filed about it here: http://bugs.kde.org/show_bug.cgi?id=81067, however, that dates from 2004, last activity was from March 2009, apparently it still isn't resolved. How do people use passphrase keypairs in KDE? Cheers, Victor |
![]() Administrator ![]()
|
I use ssh-add to unlock my SSH key at the beginning of my session.
From what I can recall, KWallet will store your passphrase, as long as you tick the "remember password" box. Note that it will only be stored for that username and host combination.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
heya,
Hmm, I figured I could open a terminal, and run ssh-add at the beginning of each session to add my keyset, and enter in the password there. However, I was wondering if the whole kit and kaboodle could be integrated into Kwallet? E.g. when I tried to access a sftp/fish site in Konqueror/Dolphin, Kwallet would prompt me to unlock my key? Or even if it could just store the keyfile's passphrase, so that when anything tried to use ssh-agent, Kwallet would come up? That bug I linked to did seem to imply doing something like that, however, I'm not sure if it was deemed not important, or if there's a recommended better way of doing this? So you just open a terminal, and type ssh-add at the beginning of each session? Hmm, interesting. Is there any other way you can think of? Cheers, Victor |
![]() Administrator ![]()
|
I have that set up with an addon from kde-apps.org ( ksshaskpass )
However, unless it is possible to get the SSH command to trigger automatic calling of the ssh-add command on startup, this is not possible.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]