(from email from Peter Mander)
May I suggest adding these two lines to the beginning of the keychain
script?
LANG=C LC_ALL=C
export LANG LC_ALL
The reason is gawk fails to match regular expressions in a multibyte
environment. SuSE 9.1 and SuSE 9.2 both are LANG=en_GB.UTF-8 and
keychain fails to find existing ssh-agent processes, and any new login
needs to have the passphrase entered again, leading to a needless
proliferation of ssh-agent processes. SuSE 9.0 isn't UTF-8, and keychain
works as expected there.
There is more detail in the GNU Awk User's Guide: 2.9 Where You Are
Makes A Difference