Renci.SshNet.PrivateKeyAuthenticationMethod
Provides functionality to perform private key authentication.
namespace Renci.SshNet
{
public class PrivateKeyAuthenticationMethod : AuthenticationMethod
{
public ICollection<IPrivateKeySource> KeyFiles { get; }
public PrivateKeyAuthenticationMethod(string username, params IPrivateKeySource[] keyFiles);
}
}