Interface ISshClientFactory
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
Opens new connections to the endpoints registered with services.AddSshClient(name).
public interface ISshClientFactory
Methods
- ConnectAsync(string, CancellationToken)
Connects to the endpoint registered as
name. The caller owns the client and disposes it.