Skip to main content

Module agent

Module agent 

Source
Expand description

Agent runtime and IPC.

Re-exports§

pub use client::AgentStatus;
pub use client::add_identity;
pub use client::agent_sign;
pub use client::check_agent_status;
pub use client::list_identities;
pub use client::remove_all_identities;

Modules§

client
SSH agent client for communicating with a running agent.

Structs§

AgentCore
An in-memory registry of SSH keys used by the local agent. Stores seeds securely using SecureSeed (zeroize-on-drop). Note: Clone is intentionally NOT derived to prevent accidental copying of key material.
AgentHandle
A handle to an agent instance that manages its lifecycle.
AgentSession
Wraps an AgentHandle to implement the ssh_agent_lib::agent::Session trait.

Constants§

DEFAULT_IDLE_TIMEOUT
Default idle timeout (30 minutes)