SSH.Agent.Authenticate - charonn0/RB-libssh2 GitHub Wiki
SSH.Agent.Authenticate
Method Signature
Function Authenticate(Username As String, KeyIndex As Integer) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
Username |
String | The user to log in as. |
KeyIndex |
Integer | The index of the public key to authenticate with. |
Remarks
Authenticates the session as Username through a local SSH agent.