rolls back to ssh-agent
This commit is contained in:
parent
f067b2cf9c
commit
2ffa0033ae
2 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@ set -x EDITOR vim
|
|||
set -x VIRTUAL_ENV_DISABLE_PROMPT true
|
||||
|
||||
## SSH init
|
||||
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
|
||||
for f in (ls $HOME/.ssh/*.pub);
|
||||
set -l priv (string replace '.pub' '' $f);
|
||||
if not contains $priv (ssh-add -l | awk '{ print $3 }')
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/home/bca/.config/systemd/user/ssh-agent.service
|
Loading…
Add table
Reference in a new issue