fix problems with SSH agent forwarding
This commit is contained in:
parent
a3587d311b
commit
81687f5418
2 changed files with 2 additions and 1 deletions
1
.pam_environment
Normal file
1
.pam_environment
Normal file
|
|
@ -0,0 +1 @@
|
|||
SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/ssh-agent.sock"
|
||||
2
.profile
2
.profile
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue