Loading...
 

SSHAgent Forwarding

  1. Ensure AllowAgentForwarding yes is set in /etc/ssh/sshd_config on the machine that will be used as a jump server
  2. on the client machine, run:
    eval $(ssh-agent)
    ssh-add ~/.ssh/my_key
    ssh --ssh-flag="-A" jump-server
  3. once connected, ssh normally to the final destination machine.