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

IServiceFactory

interface IServiceFactory

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

INetConfSession CreateNetConfSession(ISession session, int operationTimeout)

ISession CreateSession(ConnectionInfo connectionInfo, ISocketFactory socketFactory)

ISftpFileReader CreateSftpFileReader(string fileName, ISftpSession sftpSession, uint bufferSize)

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)