fix problems with SSH agent forwarding

This commit is contained in:
Lexi / Zoe 2019-08-16 19:32:31 +02:00
parent a3587d311b
commit 81687f5418
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
2 changed files with 2 additions and 1 deletions

1
.pam_environment Normal file
View File

@ -0,0 +1 @@
SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/ssh-agent.sock"

View File

@ -5,7 +5,7 @@
#
# SSH key agent is started by systemd user
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.sock"
#export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.sock"
# GPG key stuff
export GPG_TTY=$(tty)