1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-06-18 07:52:19 +00:00

fix ssh-agent does not work on archlinux

This commit is contained in:
kiralex 2017-12-18 08:26:33 +01:00 committed by GitHub
parent baf1e6676e
commit badf3cc5d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1164,6 +1164,11 @@ Depending on how your environment is set up, you might need to add these to your
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
gpgconf --launch gpg-agent
**Note : ** On some systems, for example Archlinux based distros, you need to replace the second line by
```
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
```
### Copy public key to server