Use ssh -A
ou configure o equivalente no seu arquivo /etc/ssh/ssh_config
(em sua máquina local:
-A Enables forwarding of the authentication agent connection. This
can also be specified on a per-host basis in a configuration
file.
Agent forwarding should be enabled with caution. Users with the
ability to bypass file permissions on the remote host (for the
agent's UNIX-domain socket) can access the local agent through
the forwarded connection. An attacker cannot obtain key mate‐
rial from the agent, however they can perform operations on the
keys that enable them to authenticate using the identities
loaded into the agent.
Em seu /etc/ssh/ssh_config
você adicionaria / definir:
ForwardAgent yes