Skip to main content

Crate rustferry_ssh

Crate rustferry_ssh 

Source
Expand description

Hardened OpenSSH transport for named RustFerry macOS workers.

The transport accepts only validated endpoint fields and always constructs one fixed OpenSSH command. A pinned host key is copied into an operation-owned trust snapshot; private-key bytes are never read or retained.

Re-exports§

pub use config::SshConfigError;
pub use config::SshEndpointConfig;
pub use config::SshHost;
pub use config::SshHostKeySha256;
pub use config::SshRemoteName;
pub use config::SshUser;
pub use provider::SSH_PROVIDER_ID;
pub use provider::SshBuildProvider;
pub use provider::snapshot_required_features;
pub use session::CreateOnlyArtifactSpool;
pub use session::SnapshotSessionClientError;
pub use session::SnapshotSessionOutcome;
pub use session::SnapshotSessionRequest;
pub use session::run_snapshot_session;
pub use transport::MAX_SSH_REQUEST_BYTES;
pub use transport::MAX_SSH_RESPONSE_BYTES;
pub use transport::ProcessSshRunner;
pub use transport::SSH_CONNECT_TIMEOUT_SECONDS;
pub use transport::SSH_OPERATION_TIMEOUT;
pub use transport::SSH_SNAPSHOT_SESSION_TIMEOUT;
pub use transport::SshInvocation;
pub use transport::SshRunner;
pub use transport::SshTransportError;
pub use transport::build_ssh_invocation;
pub use transport::build_ssh_session_invocation;

Modules§

config
Validated named SSH endpoint configuration.
provider
Runtime-neutral SSH build-provider control plane.
session
Pure framed client for one SSH snapshot-build session. Pure framed client for one SSH snapshot-build session.
transport
Fixed OpenSSH invocation and bounded process execution.

Enums§

SshSnapshotSessionError
Stable distinction between a validated session failure and process transport failure.