Introduction
SSH agent forwarding allow you once you’ve SSHed into a machine to continue and SSH from it, to the other machine, with the same key.
How to enable ssh agent forwarding in Putty
- Open PuTTY
- Under “Connection” -> “SSH” -> “Auth”
- Check the “Allow agent forwarding”
- Go back to “Session”
- Enter ip or hostname
- Click on “open”
How to enable ssh agent forwarding in Linux
Modify the file /etc/ssh/ssh_config
Just change the lines
# Host *
# ForwardAgent no
into
# Host *
ForwardAgent yes