Authenticates the specified session.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
Parameters
- session
- Type: Renci.SshNet Session
The session to be authenticated.
Return Value
true if authenticated; otherwise false.Exceptions
| Exception | Condition |
|---|---|
| session is null. | |
| Renci.SshNet.Common SshAuthenticationException | No suitable authentication method found to complete authentication. |
See Also