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

ssh config example has order reversed #28

Closed
bac opened this issue May 23, 2020 · 1 comment
Closed

ssh config example has order reversed #28

bac opened this issue May 23, 2020 · 1 comment

Comments

@bac
Copy link

bac commented May 23, 2020

In the README you have the following snippet to show how to use yubikey-agent for all hosts but one:

Host *
    IdentityAgent /usr/local/var/run/yubikey-agent.sock

Host example.com
    IdentityAgent $SSH_AUTH_SOCK

SSH will apply the first match so the order here needs to be reversed. As written example.com will attempt to use yubikey-agent.

@FiloSottile
Copy link
Owner

Oh good catch!

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

2 participants