<PackageReference Include="SSH.NET" Version="2026.0.0" />

Renci.SshNet.IServiceFactory

interface IServiceFactory

IKeyExchange CreateKeyExchange(IDictionary<string, Func<IKeyExchange>> clientAlgorithms, string[] serverAlgorithms)

INetConfSession CreateNetConfSession(ISession session, int operationTimeout)

ISession CreateSession(ConnectionInfo connectionInfo, ISocketFactory socketFactory)

ISftpSession CreateSftpSession(ISession session, int operationTimeout, Encoding encoding, ISftpResponseFactory sftpMessageFactory)

ShellStream CreateShellStream(ISession session, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModeValues, int bufferSize)