Merge pull request #42 from kiralex/master

Fix ssh-agent does not work on archlinux
pull/41/merge
drduh 2017-12-18 09:28:15 -08:00 committed by GitHub
commit 76bb620594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1165,6 +1165,12 @@ Depending on how your environment is set up, you might need to add these to your
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 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