Created
March 3, 2022 15:10
-
-
Save patsbin/868c48c5e8b3de1ccad7dd19257f7a17 to your computer and use it in GitHub Desktop.
Keychain Error: Problem adding; giving up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting an error after migrating to a new system when adding private keys to ssh-agent | |
/usr/bin/keychain -q --nogui $HOME/.ssh/id_rsa.key | |
* Error: Problem adding; giving up | |
Manually adding the key shows a permission problem | |
ssh-add ~/.ssh/id_rsa.key | |
chmod 700 /home/pwi/.ssh/*.key | |
In .bashrc | |
/usr/bin/keychain -q --nogui $HOME/.ssh/id_rsa1.key | |
/usr/bin/keychain -q --nogui $HOME/.ssh/id_rsa2.key | |
source $HOME/.keychain/$HOSTNAME-sh |
i get this error more often last 2 days.
It is weird.
i use WSL too.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
killing and restarting ssh-agent helped for me too. never had this error before though, strange