I'm struggling with the concept of SSH Agent Forwarding. This is what I've done so far:Create default identity local (ssh-keygen)Install the public key on bitbucketNow I want to connect to a server like ssh myserver@myserver.be . Then I would normally create a key on the server with ssh-keygen and again, copy the public key and add it to my bitbucket SSH keys. after that I can clone my SSH repository and pull/push to the bitbucket repository. But that is not the way to do it.How can I make sure I don't have to create a key on my server? I've read many tutorials like this but I'm still struggling with the ssh agent forwarding.UPDATE:I've tried to do this tutorial but I'm already stuck at step 1. They say you need to add the following text to your config file (located at ~/.ssh/config):Host example.com ForwardAgent yesMy config file looks like this before the first step:Host bitbucket.org IdentityFile ~/.ssh/id_rsaAfter the step it looks like this:Host bitbucket.org IdentityFile ~/.ssh/id_rsaHost mysite.be ForwardAgent yesTo try if it works you need to execute the following command on your server:ssh -T git@bitbucket.orgTried this but I'm getting the error Permission denied (publickey). on my server.
SSH Agent Forwarding on server
ssh;git;ssh agent