Executing a command with ssh open ksshaskpass. However it keeps popping up after clicking cancel.
After 3 tries, With either OK or Cancel the returned error message does not make sense for most end users.
ksshaskpass(12662)/kdeui (Wallet): The kwalletd service has been disabled
ksshaskpass(12662)/kdeui (Wallet): The kwalletd service has been disabled
ksshaskpass(12662)/kdeui (Wallet): The kwalletd service has been disabled
ksshaskpass(12662)/kdeui (Wallet): The kwalletd service has been disabled
ksshaskpass(12662)/kdeui (Wallet): The kwalletd service has been disabled
ksshaskpass(12662)/kdeui (Wallet): The kwalletd service has been disabled
Permission denied (publickey, keyboard-interactive)
So in affect, Cancel is indistinguishable from Ok.
Clicking cancel it should not ask for the password again, but just close (without any error message).
Perhaps this is a bug with ksshaskpass.
Using the standard KDE that comes with openSUSE 13.2
I’m not sure that I understand the issue.
“ksshaskpass” does two things:
1: it requests a password for the user on behalf of openssh;
2: it offers to save that password in kdewallet.
If kdewallet is disabled, I would expect that to interfere with the second of those. But it is still supposed to request the password that openssh wants.
The problem is clicking cancel does not work. It is the same as clicking OK without entering a password.
Cancel is cancel and it should close and not pop up again. After 3 times without supply a password the error message I posted in OT was shown.
I’m guessing that “Cancel” works perfectly.
That is to say, on “Cancel”, ksshaskpass goes away and does not pop up again.
But there’s still a running openssh process. And it still wants that password. So it starts a new “ksshaskpass” process to request it.
I’m not sure what you are doing. For me, the “ksshaskpass” shows up when I use “ssh-add” to add a public key to ssh-agent, as in
ssh-add keyid < /dev/null
If I don’t want to give the key, then I don’t run “ssh-add”, or I run that command without the I/O redirection so that it can prompt me at the terminal.