C# Класс SSH.ConnectionInfoGenerator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetCredConnectionInfo ( string computer, int port, System.Management.Automation.PSCredential credential, string proxyserver, string proxytype, int proxyport, System.Management.Automation.PSCredential proxycredential, KeyboardInteractiveAuthenticationMethod kIconnectInfo ) : ConnectionInfo

GetKeyConnectionInfo ( string computer, int port, string keyfile, System.Management.Automation.PSCredential credential, string proxyserver, string proxytype, int proxyport, System.Management.Automation.PSCredential proxycredential ) : PrivateKeyConnectionInfo

Generate a ConnectionInfoObject using a SSH Key.

Приватные методы

Метод Описание
GetKeyConnectionInfo ( string computer, int port, Stream keyFileStream, System.Management.Automation.PSCredential credential, string proxyserver, string proxytype, int proxyport, System.Management.Automation.PSCredential proxycredential ) : PrivateKeyConnectionInfo

Описание методов

GetCredConnectionInfo() публичный статический Метод

public static GetCredConnectionInfo ( string computer, int port, System.Management.Automation.PSCredential credential, string proxyserver, string proxytype, int proxyport, System.Management.Automation.PSCredential proxycredential, KeyboardInteractiveAuthenticationMethod kIconnectInfo ) : ConnectionInfo
computer string
port int
credential System.Management.Automation.PSCredential
proxyserver string
proxytype string
proxyport int
proxycredential System.Management.Automation.PSCredential
kIconnectInfo Renci.SshNet.KeyboardInteractiveAuthenticationMethod
Результат Renci.SshNet.ConnectionInfo

GetKeyConnectionInfo() публичный статический Метод

Generate a ConnectionInfoObject using a SSH Key.
public static GetKeyConnectionInfo ( string computer, int port, string keyfile, System.Management.Automation.PSCredential credential, string proxyserver, string proxytype, int proxyport, System.Management.Automation.PSCredential proxycredential ) : PrivateKeyConnectionInfo
computer string
port int
keyfile string
credential System.Management.Automation.PSCredential
proxyserver string
proxytype string
proxyport int
proxycredential System.Management.Automation.PSCredential
Результат Renci.SshNet.PrivateKeyConnectionInfo