Update SSH_AUTH_SOCK
This commit is contained in:
parent
e92030f555
commit
523af8e0c7
@ -15,7 +15,6 @@ add_ssh_keys() {
|
|||||||
# Because I use zsh to start X11
|
# Because I use zsh to start X11
|
||||||
if [[ -o login ]]; then
|
if [[ -o login ]]; then
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
|
||||||
eval "$(gnome-keyring-daemon --start 2>/dev/null)"
|
eval "$(gnome-keyring-daemon --start 2>/dev/null)"
|
||||||
SSH_ASKPASS_REQUIRE="force" \
|
SSH_ASKPASS_REQUIRE="force" \
|
||||||
SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \
|
SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \
|
||||||
|
@ -14,7 +14,6 @@ add_ssh_keys() {
|
|||||||
# Because I use zsh to start X11
|
# Because I use zsh to start X11
|
||||||
if [[ -o login ]]; then
|
if [[ -o login ]]; then
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
|
||||||
eval "$(gnome-keyring-daemon --start 2>/dev/null)"
|
eval "$(gnome-keyring-daemon --start 2>/dev/null)"
|
||||||
SSH_ASKPASS_REQUIRE="force" SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" add_ssh_keys &
|
SSH_ASKPASS_REQUIRE="force" SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" add_ssh_keys &
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user