Property ConfigAlias
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
ConfigAlias
Connect by this ssh_config alias instead (ProxyJump, IdentityFile, known_hosts and the rest come from the user's and the
system's ssh_config). Host, Port, UserName, PrivateKeyFiles,
KnownHostsFiles, AcceptNewHostKeys (ssh_config's StrictHostKeyChecking decides),
KeepAliveInterval (its ServerAliveInterval does) and ConfigureClientOptions are then ignored;
Password is still offered, to the destination only. PrivateKeys,
HostKeyFingerprints, Proxy and JumpHosts cannot be combined with it (validation fails), as
ssh_config decides keys, host keys, proxies and jump hosts there.
public string? ConfigAlias { get; set; }