다음을 통해 공유


SSHConnectionInfo Constructors

Definition

Overloads

SSHConnectionInfo(String, String, String)

Initializes a new instance of the SSHConnectionInfo class.

SSHConnectionInfo(String, String, String, Int32)

Initializes a new instance of the SSHConnectionInfo class.

SSHConnectionInfo(String, String, String, Int32, String)

Initializes a new instance of the SSHConnectionInfo class.

SSHConnectionInfo(String, String, String, Int32, String, Int32)

Initializes a new instance of SSHConnectionInfo.

SSHConnectionInfo(String, String, String, Int32, String, Int32, Hashtable)

Initializes a new instance of the SSHConnectionInfo class.

SSHConnectionInfo(String, String, String)

Initializes a new instance of the SSHConnectionInfo class.

public:
 SSHConnectionInfo(System::String ^ userName, System::String ^ computerName, System::String ^ keyFilePath);
public:
 SSHConnectionInfo(Platform::String ^ userName, Platform::String ^ computerName, Platform::String ^ keyFilePath);
 SSHConnectionInfo(std::wstring const & userName, std::wstring const & computerName, std::wstring const & keyFilePath);
public SSHConnectionInfo (string userName, string computerName, string keyFilePath);
new System.Management.Automation.Runspaces.SSHConnectionInfo : string * string * string -> System.Management.Automation.Runspaces.SSHConnectionInfo
Public Sub New (userName As String, computerName As String, keyFilePath As String)

Parameters

userName
String

User Name.

computerName
String

Computer Name.

keyFilePath
String

Key File Path.

Applies to

SSHConnectionInfo(String, String, String, Int32)

Initializes a new instance of the SSHConnectionInfo class.

public:
 SSHConnectionInfo(System::String ^ userName, System::String ^ computerName, System::String ^ keyFilePath, int port);
public:
 SSHConnectionInfo(Platform::String ^ userName, Platform::String ^ computerName, Platform::String ^ keyFilePath, int port);
 SSHConnectionInfo(std::wstring const & userName, std::wstring const & computerName, std::wstring const & keyFilePath, int port);
public SSHConnectionInfo (string userName, string computerName, string keyFilePath, int port);
new System.Management.Automation.Runspaces.SSHConnectionInfo : string * string * string * int -> System.Management.Automation.Runspaces.SSHConnectionInfo
Public Sub New (userName As String, computerName As String, keyFilePath As String, port As Integer)

Parameters

userName
String

User Name.

computerName
String

Computer Name.

keyFilePath
String

Key File Path.

port
Int32

Port number for connection (default 22).

Applies to

SSHConnectionInfo(String, String, String, Int32, String)

Initializes a new instance of the SSHConnectionInfo class.

public SSHConnectionInfo (string userName, string computerName, string keyFilePath, int port, string subsystem);
new System.Management.Automation.Runspaces.SSHConnectionInfo : string * string * string * int * string -> System.Management.Automation.Runspaces.SSHConnectionInfo
Public Sub New (userName As String, computerName As String, keyFilePath As String, port As Integer, subsystem As String)

Parameters

userName
String

User Name.

computerName
String

Computer Name.

keyFilePath
String

Key File Path.

port
Int32

Port number for connection (default 22).

subsystem
String

Subsystem to use (default 'powershell').

Applies to

SSHConnectionInfo(String, String, String, Int32, String, Int32)

Initializes a new instance of SSHConnectionInfo.

public SSHConnectionInfo (string userName, string computerName, string keyFilePath, int port, string subsystem, int connectingTimeout);
new System.Management.Automation.Runspaces.SSHConnectionInfo : string * string * string * int * string * int -> System.Management.Automation.Runspaces.SSHConnectionInfo
Public Sub New (userName As String, computerName As String, keyFilePath As String, port As Integer, subsystem As String, connectingTimeout As Integer)

Parameters

userName
String

Name of user.

computerName
String

Name of computer.

keyFilePath
String

Path of key file.

port
Int32

Port number for connection (default 22).

subsystem
String

Subsystem to use (default 'powershell').

connectingTimeout
Int32

Timeout time for terminating connection attempt.

Applies to

SSHConnectionInfo(String, String, String, Int32, String, Int32, Hashtable)

Initializes a new instance of the SSHConnectionInfo class.

public SSHConnectionInfo (string userName, string computerName, string keyFilePath, int port, string subsystem, int connectingTimeout, System.Collections.Hashtable options);
new System.Management.Automation.Runspaces.SSHConnectionInfo : string * string * string * int * string * int * System.Collections.Hashtable -> System.Management.Automation.Runspaces.SSHConnectionInfo
Public Sub New (userName As String, computerName As String, keyFilePath As String, port As Integer, subsystem As String, connectingTimeout As Integer, options As Hashtable)

Parameters

userName
String

User Name.

computerName
String

Computer Name.

keyFilePath
String

Key File Path.

port
Int32

Port number for connection (default 22).

subsystem
String

Subsystem to use (default 'powershell').

connectingTimeout
Int32

Timeout time for terminating connection attempt.

options
Hashtable

Options for the SSH connection.

Applies to