Im struggling with setting up ssh-agent-forwarding.
What I want to do: I want to have my public key on a ubuntu-server, the private key locally on my windows machine. I want to connect to the ubuntu-server without having to type in my private-key password since its stored in the pagent. This part works flawless. The next part is the one that isn't working though.
After connecting to the ubuntu-server I want to git/ssh into other servers, only with the key that is on my windows machine in the pagent.
What I've done so far: I have a Windows Client with installed pagent. The key is set up in the windows machine. I can connect to the ubuntu-server and authorize over the private key that I've set up. Also I have activated "Allow agent forwarding" in putty.
Thats what my ssh_config looks like:
Host *
ForwardAgent yes
What the problem is: When connected to the server and typing in "ssh-add -l" the server tells me: "The agent has no identities."
What have I forgotten?