mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-19 00:10:00 +00:00
Deployment servers get two more types next to SFTP and local folders: FTP and FTPS (explicit AUTH TLS, certificates checked against the system trust store). The Connection tab takes host, port, user name (empty logs in anonymously) and passive mode; the password is asked for on connect like an SSH password and is kept for the session or saved in the OS credential store. The FTP filesystem backs upload, download, sync, automatic upload, the remote host browser and remote editing. Listings use MLSD when the server has it, else LIST with MDTM for exact times, so sync compares timestamps reliably; uploads keep timestamps with MFMT when "Preserve files timestamps" is on. Closes #1200
26 lines
836 B
Rust
26 lines
836 B
Rust
//! SSH for every remote feature: configurations and `~/.ssh/config` hosts,
|
|
//! host-key trust, authentication (password, key, agent), remote commands and
|
|
//! processes, SFTP (and FTP for deployment), local port forwarding, and askpass for `ssh` / `git`.
|
|
|
|
pub mod askpass;
|
|
pub mod filesystem;
|
|
pub mod ftp;
|
|
pub mod git_creds;
|
|
pub mod manager;
|
|
pub mod secrets;
|
|
pub mod session;
|
|
pub mod sftp;
|
|
pub mod shell;
|
|
pub mod target;
|
|
#[cfg(feature = "testing")]
|
|
pub mod testing;
|
|
pub mod tunnel;
|
|
|
|
pub use filesystem::{FsConnection, RemoteFs};
|
|
pub use manager::SshManager;
|
|
pub use russh::Sig;
|
|
pub use session::{ConnectError, ExecOutput, Output, RemoteProcess, Session, UnknownHostKey};
|
|
pub use sftp::RemoteEntry;
|
|
pub use target::{SshFiles, SshTarget, expand, openssh_args, resolve_ssh_remote_url, resolve_ssh_remote_url_with};
|
|
pub use tunnel::Tunnel;
|