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

If $SSH_AUTH_SOCK is set, SSH keys are used for authentication #66

Open
SergiiDmytruk opened this issue Sep 28, 2024 · 0 comments
Open

Comments

@SergiiDmytruk
Copy link
Member

Despite #39, operations over SSH wait 30 seconds and then ask for a passphrase of the SSH key. Not providing a passphrase leads to failures, meaning that you must not forget to wait for the prompt.

I've tracked this down to $SSH_AUTH_SOCK being set. Unsetting it prevents the issue from happening. gpg-agent is what caches the SSH key and it works fine, so it's not like that socket isn't functional. Not sure how some this script picks up on this environment variable, must be some of the dependencies.

Now that I have a workaround, it's not a big deal, but someone else might hit this as well, so worth documenting.

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

1 participant