Ssh Agent Forwarding: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * OpenSSH Configuration * OpenSSH Operations")
 
Line 3: Line 3:
* [[OpenSSH_Configuration#-A|OpenSSH Configuration]]
* [[OpenSSH_Configuration#-A|OpenSSH Configuration]]
* [[OpenSSH_Operations#Server_Operations|OpenSSH Operations]]
* [[OpenSSH_Operations#Server_Operations|OpenSSH Operations]]
=Overview=
Agent forwarding means using the local identity (private key) from the machine that initiated the ssh connection on the remote machine - the machine you're logging into. This mode allows you to authenticate against further machines you may log into, with your local credentials, while logged in on the remote machine, without copying your private key on the remote machine.
ssh -A ...
This forwards the connection to your [[OpenSSH_Concepts#ssh_Agent|ssh agent]] on the remote computer.

Revision as of 19:47, 6 August 2019

Internal

Overview

Agent forwarding means using the local identity (private key) from the machine that initiated the ssh connection on the remote machine - the machine you're logging into. This mode allows you to authenticate against further machines you may log into, with your local credentials, while logged in on the remote machine, without copying your private key on the remote machine.

ssh -A ...

This forwards the connection to your ssh agent on the remote computer.