Get rid of Ksshaskpass window popping up in openSUSE

Written by - 2 comments

Published on - 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)

Aaron Michaux from wrote on Jan 21st, 2022:

The given solution didn't work for me in Kde5.

sudo rm -f $(which ksshaskpass)


zj from wrote on Nov 2nd, 2015:

Very helpful, thanks


RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Icingaweb   Icingaweb2   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder   


Update cookies preferences