User Tools

Site Tools


ubuntu:ssh:agent_forwarding

This is an old revision of the document!


Ubuntu - SSH - Agent forwarding

SSH agent forwarding allows you to use your local SSH keys on a remote server without physically copying them to the server.

  • It works by forwarding requests from the SSH client on the server back to your local machine’s SSH agent.

Enable SSH agent forwarding

To enable SSH agent forwarding, use the -A option with the ssh command when connecting to your remote server.

  • Alternatively, configure it permanently in the ~/.ssh/config file by adding ForwardAgent yes under the host entry.

ubuntu/ssh/agent_forwarding.1747821137.txt.gz · Last modified: 2025/05/21 09:52 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki