Expand description
Asynchronous SSH client library in pure Rust.
You may want to read the tutorial to get started with Makiko.
Re-exports§
pub use self::cipher::CipherAlgo;
pub use self::kex::KexAlgo;
pub use self::mac::MacAlgo;
pub use self::pubkey::PubkeyAlgo;
pub use self::pubkey::Pubkey;
pub use self::pubkey::Privkey;
pub use bytes;
pub use ecdsa;
pub use ecdsa::elliptic_curve;
pub use ed25519_dalek;
pub use p256;
pub use p384;
pub use pem;
pub use rsa;
Modules§
- cipher
- Encryption and decryption algorithms.
- codes
- Various codes from the SSH protocol.
- host_
file - Support for OpenSSH-compatible
known_hosts
file. - kex
- Key exchange algorithms.
- keys
- Encoding and decoding of keys.
- mac
- Message authentication algorithms.
- pubkey
- Public key algorithms.
Structs§
- Accept
Channel - Tell us whether to accept a channel opened by the server (low level API).
- Accept
Pubkey - Tell us whether the server public key is valid.
- Accept
Tunnel - Tell us whether to accept a tunnel opened by the server.
- Algo
Negotiate Error - Error that occured because we could not negotiate an algorithm.
- Auth
Banner - Banner message sent by the SSH server.
- Auth
Failure - Message sent by the server when authentication attempt fails.
- Auth
Password Prompt - Prompt that the server sends when asking you to change your password.
- Channel
- Handle to an SSH channel (low level API).
- Channel
Config - Configuration of a
Channel
(or aSession
). - Channel
Open Error - Error that occured when opening a channel.
- Channel
Receiver - Receiving half of a
Channel
(low level API). - Channel
Req - Request on an SSH channel (low level API).
- Client
- Handle to an SSH connection.
- Client
Config - Configuration of a
Client
. - Client
Future - Future that drives the connection state machine.
- Client
Receiver - Receiving half of a
Client
. - Client
Resp - Future server response to a global request.
- Debug
Msg - Debugging message sent by the SSH server.
- Disconnect
Error - Error that describes SSH disconnection.
- Exit
Signal - Information about a process that terminated due to a signal.
- Global
Req - Global request on an SSH connection (low level API).
- Packet
Decode - Decoding of SSH packets and other payloads (low level API).
- Packet
Encode - Encoding of SSH packets and other payloads (low level API).
- PtyRequest
- Pseudo-terminal request.
- PtyTerminal
Modes - Terminal modes for a
PtyRequest
. - Session
- Handle to an SSH session.
- Session
Receiver - Receiving half of a
Session
. - Session
Resp - Future server response to a
Session
request. - Tunnel
- Handle to an SSH tunnel (TCP/IP forwarding channel).
- Tunnel
Reader AsyncRead
andAsyncBufRead
for an SSH tunnel.- Tunnel
Receiver - Receiving half of a
Tunnel
. - Tunnel
Stream AsyncRead + AsyncWrite
for an SSH tunnel.- Tunnel
Writer AsyncWrite
for an SSH tunnel.- Window
Change - Change of terminal window dimensions.
Enums§
- Auth
None Result - Result of the “none” authentication method.
- Auth
Password Result - Result of the “password” authentication method.
- Auth
Pubkey Result - Result of the “publickey” authentication method.
- Channel
Event - An event returned from
ChannelReceiver
(low level API). - Channel
Reply - Reply to a request on an SSH channel (low level API).
- Client
Event - An event returned from
ClientReceiver
. - Data
Type - Type of data sent over an SSH channel (low level API).
- Error
- Error that occured while handling SSH connection.
- Global
Reply - Reply to global request on an SSH connection (low level API).
- Session
Event - An event returned from
SessionReceiver
. - Tunnel
Event - An event returned from
TunnelReceiver
.
Constants§
- DATA_
STANDARD - Shorthand for
DataType::Standard
(low level API). - DATA_
STDERR - Shorthand for
DataType::Extended(1)
(low level API).