There's no documentation for this item.
| Classes |
| AuthenticationFailed |
Raised when user authentication failed.
|
| Exception |
The ancestor class of all exceptions raised in the Net::SSH module.
|
| HostKeyMismatch |
Raised when the cached key for a particular host does not match the key
given by the host, which can be indicative of a man-in-the-middle attack.
When rescuing this exception, you can inspect the key fingerprint and, if
you want to proceed anyway, simply call the remember_host! method on the
exception, and then retry.
|
| HostKeyVerifier |
|
| KnownHosts |
|
| LenientHostKeyVerifier |
|
| NullHostKeyVerifier |
The NullHostKeyVerifier simply allows every key it sees, without bothering
to verify. This mimics the pre-1.1 behavior of Net::SSH, but is not very
secure.
|
| Session |
Encapsulates a single session (connection) to a server via SSH.
|
| Constants |
| EXTERNAL_SERVICES |
A registry of external (i.e., third-party) services that should be made
available to any SSH session.
|
| Public Methods |
| register_service |
Used by third-parties to register a service that should be made available
to any SSH session when the session is constructed. The block should take a
two parameters—the dependency injection container that should contain
the services, and the service-point for the service being registered.
|
| start |
A convenience method for starting a new SSH session. See Net::SSH::Session.
|
<code/>and<pre/>for code samples.