Forked from patsbin/gist:868c48c5e8b3de1ccad7dd19257f7a17
Created
December 10, 2023 20:42
-
-
Save Bujhm/07fe150547dccbf2ad7259e88318e8e7 to your computer and use it in GitHub Desktop.
Revisions
-
patsbin created this gist
Mar 3, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ 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