How to get OpenSSH to use ksshaskpass under KDE?
Posted
by
Guss
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Guss
Published on 2011-11-26T19:44:29Z
Indexed on
2011/11/27
18:05 UTC
Read the original article
Hit count: 399
When using a GNOME desktop on Ubuntu, if I use OpenSSH client to connect to another computer (running from the gnome-terminal), I get a single graphic popup asking for my private key's pass-phrase. After that I no longer need to enter my pass-phrase as it is cached by the SSH agent.
Under KDE it doesn't work like that - when I start ssh from konsole, I get a text prompt for my pass-phrase every single time, even though ssh-agent is running.
If I run ssh-add from the terminal then I can enter my pass-phrase on the terminal and it will be stored by ssh-agent and I won't get any more pass-phrase prompts, while if I run ssh-add the KRunner graphical command line ("Run" dialog) then I get a graphical prompt with the same behavior. The problem is I have to remember running ssh-add every time I log in to the desktop.
How can I get ssh to behave under KDE, the same as it does on GNOME - the first time the pass-phrase is needed, pop up a graphical dialog and store the pass-phrase in the agent.
I've installed ksshaskpass, but that didn't change anything.
© Ask Ubuntu or respective owner