C# Class SSH.ConnectionInfoGenerator

Afficher le fichier Open project: darkoperator/Posh-SSH Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GetKeyConnectionInfo ( string computer, int port, Stream keyFileStream, System.Management.Automation.PSCredential credential, string proxyserver, string proxytype, int proxyport, System.Management.Automation.PSCredential proxycredential ) : PrivateKeyConnectionInfo

Method Details

GetCredConnectionInfo() public static méthode

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
Résultat Renci.SshNet.ConnectionInfo

GetKeyConnectionInfo() public static méthode

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
Résultat Renci.SshNet.PrivateKeyConnectionInfo