Skip to main content

Crate passalong_ssh

Crate passalong_ssh 

Source
Expand description

SSH/SFTP storage backend for passalong.

This crate is kept free of CLI dependencies so GUI and Android front-ends can reuse it.

Re-exports§

pub use backend::open_ssh_store;
pub use backend::register;
pub use connect::fetch_host_key;
pub use host_key::DiscoveredKey;

Modules§

backend
The ssh storage backend: FsStore over SftpFs, registered as a file-like backend, so the store opens as its header says: plaintext or encrypted.
connect
Opening an authenticated SSH session to the configured server.
error
Errors from reaching the server over SSH and starting SFTP.
host_key
Strict server host key pinning: the server’s key must equal the configured one. There is no trust-on-first-use and no known_hosts fallback.
sftp_fs
RemoteFs over SFTP, rooted at server.ssh.remote_path.

Constants§

VERSION
Version of this crate, shared by every crate in the workspace.