Skip to main content Link Menu Expand (external link) Document Search Copy Copied

SSH Sessions with AUTH SOCk

In ~/.ssh/rc

if test "$SSH_AUTH_SOCK"; then
        ln -sf $SSH_AUTH_SOCK ~/.ssh/ssh_auth_sock
fi

In ~/.bashrc

export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock