diff options
author | drduh <github@duh.to> | 2019-02-19 17:31:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-19 17:31:23 -0800 |
commit | 418643dd6216653dd3f85753c39d488cd308f1c6 (patch) | |
tree | 5d4a36b19477c037de22a9f73e1e70bde179feb5 /README.md | |
parent | Merge pull request #95 from razic/master (diff) | |
parent | Add hint for setting up gpg-agent socket (diff) | |
download | YubiKey-Guide-418643dd6216653dd3f85753c39d488cd308f1c6.tar.gz |
Merge pull request #96 from AuHau/patch-1
Add hint for setting up gpg-agent socket
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1696,7 +1696,7 @@ And reload the SSH daemon (e.g., `sudo service sshd reload`). - If you still receive the error, `sign_and_send_pubkey: signing failed: agent refused operation` - check `~/.gnupg/gpg-agent.conf` to make sure the path to `pinentry` is correct. -- If you receive the error, `Error connecting to agent: No such file or directory` from `ssh-add -L`, the UNIX file socket that the agent uses for communication with other processes may not be set up correctly. On Debian, try `export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"` +- If you receive the error, `Error connecting to agent: No such file or directory` from `ssh-add -L`, the UNIX file socket that the agent uses for communication with other processes may not be set up correctly. On Debian, try `export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"`. Also see that `gpgconf --list-dirs agent-ssh-socket` is returning single path, to existing `S.gpg-agent.ssh` socket. - If you receive the error, `Permission denied (publickey)`, increase ssh verbosity with the `-v` flag and ensure the public key from the card is being offered: `Offering public key: RSA SHA256:abcdefg... cardno:00060123456`. If it is, ensure you are connecting as the right user on the target system, rather than as the user on the local system. Otherwise, be sure `IdentitiesOnly` is not [enabled](https://github.com/FiloSottile/whosthere#how-do-i-stop-it) for this host. |