Open guillermo-st opened 10 months ago
I dont think you want that $HOME/.ssh/* thing. If anything you should specify the actual key(s) you want to load (and not everythin inside .ssh/). E.g. id_rsa id_ed25519
Also, you might want to use $() instead of backticks.
Like so eval $(keychain --eval )
works fine with multiple keys inside ~/.ssh/ for me ... on debian.
I'm trying to set up keychain on opensuse to automatically add my github ssh keys on boot, and prevent the password input popups on every commit. After installing keychain and adding my keys, it works just fine until the next reboot. After turning the machine on, opensuse gets hung up on a black screen. The only workaround is to roll the OS back to a previous snapshot where keychain was not installed.
I have even tried reinstalling opensuse from scratch (including a full disk format), but this only happens after installing keychain. This is the line I added to my .bashrc:
eval ` keychain --eval $HOME/.ssh/* `
I have no idea how to fix this, I guess I will have to settle for manually starting the ssh agent myself. Help much appreciated!