Expand description
SSH Agent client implementation
Platform: Unix/Linux/macOS (uses Unix domain sockets)
Re-exports§
pub use actions::SshAgentClientProtocol;
Modules§
- actions
- SSH Agent client protocol actions
Structs§
- Agent
Response Reader - Keeps an absolute partial-frame deadline across cancellation of
next(). - Agent
Writer - A framed writer that permanently loses its transport after an incomplete write. Taking the transport out before awaiting also covers caller cancellation: its drop closes the owned Unix write half, and subsequent commands cannot append a new frame into an unfinished one.
- SshAgent
Client - SSH Agent client that connects to an SSH agent
Constants§
- MAX_
RESPONSE_ BYTES - Bound server-controlled SSH agent frame lengths before allocating their bodies.
Functions§
- response_
reader - Decode complete SSH agent packets, stripping their four-byte big-endian length. Keeping framing in the reader preserves partial packets across command-channel select arms and separates multiple responses received in one socket read.
- response_
reader_ with_ timeout