Authenticates the user to the server interactively and initializes the SSH session.
Uses AuthenticationRequest event to request credentials.
Namespace:
Rebex.Net
Assembly:
Rebex.SshShell (in Rebex.SshShell.dll)
Syntax
| Visual Basic |
|---|
Public Sub Login ( _ userName As String _ ) |
| C# |
|---|
public void Login( string userName ) |
Parameters
- userName
- Type: System..::..String
The username (optional).