Property ForwardAgent
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
ForwardAgent
Forward this agent to the server (ssh -A, ForwardAgent yes): sessions ask the server to offer it, so programs there
(ssh, git) can authenticate onward with your keys. Null (the default) forwards nothing. Only forward to servers you trust: while
connected, anyone with enough rights on the server can use the agent to sign with your keys (not read them).
public SshAgent? ForwardAgent { get; init; }