Crate distant_ssh2

Source
Expand description

§distant ssh2

Crates.io Docs.rs Rustc 1.70.0

Library provides native ssh integration into the distant binary.

🚧 (Alpha stage software) This library is in rapid development and may break or change frequently! 🚧

§Details

The distant-ssh2 library supplies functionality to speak over the ssh protocol using distant and spawn distant servers on remote machines using ssh.

§Installation

You can import the dependency by adding the following to your Cargo.toml:

[dependencies]
distant-ssh2 = "0.20"

§License

This project is licensed under either of

Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.

Structs§

DistantLaunchOpts
Represents options to be provided when converting an ssh client into a distant client
LocalSshAuthHandler
Implementation of SshAuthHandler that prompts locally for authentication and verification events
Ssh
Represents an ssh2 client.
SshAuthEvent
Represents an authentication request that needs to be handled before an ssh client can be established
SshAuthPrompt
Represents a singular authentication prompt for a new ssh client
SshOpts
Represents options to be provided when establishing an ssh client

Enums§

SshBackend
Represents the backend to use for ssh operations
SshFamily
Represents the family of the remote machine connected over SSH

Traits§

SshAuthHandler
Interface to handle various events during ssh authentication