Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

problem adding in keychain



I use archlinux and have had an issue recently with keychain. My config is supposed to add keys when I login by calling

eval $(keychain --eval id_rsa id_ed25519)

But it reports a "Problem adding" and won't add either of the two keys. However, I can manually add keys with ssh-add to the ssh-agent that keychain starts. So, I dug into the keychain script a little, and on line 1601 of version 2.8.5 I see this command

                                sshout=$(ssh-add ${ssh_timeout} ${ssh_confirm} "$@" 2>&1 </dev/null)          

If I remove the file input redirect "</dev/null", the script works fine.


Can someone please explain to me what's going on?


Edited by jwalker
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...