You need to git pull on a server, or hop from a bastion to a box behind it, and your key only lives on your laptop. The advice you'll find is ssh -A — agent forwarding . It works, it feels clever, and it quietly hands every server you land on the ability to use your key as you.
Source: [Dev.to](https://dev.to/chen_zong_43c81f1a65b1a54/ssh-agent-forwarding-is-a-footgun-use-proxyjump-instead-15hn)