I have my github.com private ssh key in an
ssh-agent on a key server. From my home computer behind NAT I want to run
git pull and use my github ssh key.
The only way I know of doing this is to ssh into the key server and forward port 22, then ssh back into my home computer while forwarding the agent, then run
git pull in that new shell like so:
home$ ssh keyserver -R10022:localhost:22 keyserver$ ssh -A localhost -p10022 home$ git pull
Is there a simpler way to use the remote ssh key?