Re: Agent Forwarding Question for the list

Jason Powers wrote:

me@desktop> ssh-add
(type pass for key)
me@desktop> ssh someuser@server1

now from that terminal
someuser@server1> ssh otheruser@server2

It asks me for a password when I try to jump to the second server. I can put the password in and it works, but I think at this point it should be forwarding the key.

I could be wrong, but I beleve ForwardAgent just ALLOWS agent forwarding.

You stil need to ssh -A user@server1

Usage: ssh [options] host [command]
-l user Log in using this user name.
-n Redirect input from /dev/null.
-F config Config file (default: ~/.ssh/config).
-A Enable authentication agent forwarding.
-a Disable authentication agent forwarding (default).