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 (and no package on my box) requires it, so remove it:
zypper remove ksshaskpass
You think you are done? Nope. Next try — and the next stupid tool in the line comes up. This one is not only as annoying as all the others, it is also ugly as hell:
So disable it by adding this line to your ~/.bashrc and ~/.profile as well:
unset GPG_AGENT_INFOunset SSH_ASKPASS
I think we may be done. But you never know.