Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing keychain on opensuse results in black screen after boot #147

Open
guillermo-st opened this issue Jan 17, 2024 · 2 comments
Open

Comments

@guillermo-st
Copy link

guillermo-st commented Jan 17, 2024

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!

@oversize
Copy link

oversize commented Feb 8, 2024

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.

@dominicf2001
Copy link

dominicf2001 commented Nov 25, 2024

This is occurring on Fedora KDE spin as well. It happens right after I log in.

In my ~/.bashrc:

eval $(keychain --eval --quiet id_ed25519)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants