Added note about using zsh with gpg-agent.
parent
366830441e
commit
2bea5ec01d
|
@ -1220,6 +1220,14 @@ If you are using Linux on the desktop, you may want to use `/usr/bin/pinentry-gn
|
||||||
eval $(gpg-agent --daemon --enable-ssh-support --use-standard-socket \
|
eval $(gpg-agent --daemon --enable-ssh-support --use-standard-socket \
|
||||||
--log-file ~/.gnupg/gpg-agent.log --write-env-file)
|
--log-file ~/.gnupg/gpg-agent.log --write-env-file)
|
||||||
|
|
||||||
|
Zsh note - if you're using zsh, add gpg-agent to your .zshrc plugins:
|
||||||
|
|
||||||
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||||
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
|
plugins=(git gpg-agent)
|
||||||
|
|
||||||
### Copy public key to server
|
### Copy public key to server
|
||||||
|
|
||||||
There is a `-L` option of `ssh-add` that lists public key parameters of all identities currently represented by the agent. Copy and paste the following output to the server authorized_keys file:
|
There is a `-L` option of `ssh-add` that lists public key parameters of all identities currently represented by the agent. Copy and paste the following output to the server authorized_keys file:
|
||||||
|
|
Loading…
Reference in New Issue