mirror of
https://github.com/drduh/YubiKey-Guide.git
synced 2024-12-23 06:08:06 +00:00
Merge pull request #42 from kiralex/master
Fix ssh-agent does not work on archlinux
This commit is contained in:
commit
76bb620594
@ -1164,6 +1164,12 @@ Depending on how your environment is set up, you might need to add these to your
|
|||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
|
export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
|
|
||||||
|
**Note : ** On some systems, for example Archlinux based distros, you need to replace the second and the third line by
|
||||||
|
```
|
||||||
|
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||||
|
gpg-connect-agent updatestartuptty /bye
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Copy public key to server
|
### Copy public key to server
|
||||||
|
Loading…
Reference in New Issue
Block a user