Add SSH_AUTH_SOCK
This commit is contained in:
parent
92a841b810
commit
969561192b
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ enable-ssh-support
|
||||||
pinentry-program /usr/bin/pinentry-qt
|
pinentry-program /usr/bin/pinentry-qt
|
||||||
|
|
||||||
systemctl --user enable --now /usr/lib/systemd/user/gpg-agent*
|
systemctl --user enable --now /usr/lib/systemd/user/gpg-agent*
|
||||||
|
|
||||||
|
vim .bashrc
|
||||||
|
export SSH_AUTH_SOCK="/run/user/$(id -u)/gnupg/S.gpg-agent.ssh"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Export your public key to your web server:
|
## Export your public key to your web server:
|
||||||
|
|
Loading…
Reference in a new issue