Fix SSH agent forwarding between the client and the target server
Connecting through Nosshtradamus with an SSH client configured to enable agent forwarding (i.e. ssh -A user@nosshtradamus
instead of ssh -A user@target
directly) results in a non-functioning agent on the target host.
For example:
dselifonov@candescence ~ $ echo $SSH_AUTH_SOCK
/tmp/ssh-2Ug04ogV9O/agent.11026
dselifonov@candescence ~ $ ssh-add -L
Error reading response length from authentication socket.
dselifonov@candescence ~ $
This blocks parts of public#9 (closed).