linux: Enable SSH Agent Forwarding (moved)
Create ~/.ssh/config
Fill it with
Host [host address]
ForwardAgent yes
3. Add keys to ssh-agent (command for macOS)
ssh-add -K ~/.ssh/id_rsa
Ssh to remote host and check that forwarding is working
echo "$SSH_AUTH_SOCK"
Last updated
Was this helpful?