Disable the pinentry GUI window (for ssh, svn+ssh, gpg, …) under Linux

I finally got rid of stupid popups asking me for the password over and over (git-svn)

spirit's spinney

Under SuSE 13.1, when you run a ssh+svn command on the console to commit to a subversion repository, you sometimes get an annoying behaviour: instead of prompting for the password in the shell, a pinentry GUI window pops up and asks for the password.

This drove me nuts because

1) you have to enter the password twice in there

2) if you have your console always in the foreground (like yakuake), you won’t even see the GUI window which popped up behind it and think ssh was broken because there is no way to enter the password, it just seems stuck.

 

So to get rid of this annoying thing, do


export PINENTRY_USER_DATA="USE_CURSES=1"
unset GPG_AGENT_INFO

You can also put this into ~/.bashrc, ~/.profile or a similar file.

UPDATE: Wow, there is even more of this stuff. When using git, you may get another annoying GUI password tool: ksshaskpass.

Nobody…

View original post 79 more words

Advertisements
This entry was posted in linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s