Get rid of Ksshaskpass window popping up in openSUSE

Written by - 1 comments

Published on April 30th 2015 - Listed in Linux


Wanted to clone a github repository to my local openSUSE workstation and got the following ugly and annoying Ksshaskpass window:

Ksshaskpass window popup

After hitting cancel, I was able to enter it on the cli again:

git clone https://github.com/Napsty/myrepo.git
Cloning into 'myrepo'...
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
error: unable to read askpass response from '/usr/lib/ssh/ksshaskpass'
Username for 'https://github.com':

To get rid of the window popping up, you have to understand where it is coming from. By taking a closer look at the user's environment, one can find that the variable SSH_ASKPASS was set:

env | grep -i ask
SSH_ASKPASS=/usr/lib/ssh/ksshaskpass

The variable can be disabled (unset) in the user's .bashrc:

cat ~/.bashrc | grep unset
unset SSH_ASKPASS

Now after a new login or by simply opening a new terminal window, the window disappears when github asks for authentication:

git clone https://github.com/Napsty/myrepo.git
Cloning into 'myrepo'...
Username for 'https://github.com':



Add a comment

Show form to leave a comment

Comments (newest first)

zj from wrote on Nov 2nd, 2015:

Very helpful, thanks