pub struct SshConfig {
pub target: Option<String>,
pub port: Option<u16>,
pub user: Option<String>,
pub identity_file: Option<String>,
pub options: Vec<String>,
}Expand description
SSH endpoint configuration for a remote worker host.
fdl-cli parser side; mirrors flodl::distributed::launcher::SshConfig
shape so the slim envelope round-trips cleanly into the launcher. All
fields optional; absent fields fall back to system ssh defaults or
~/.ssh/config rules.
Fields§
§target: Option<String>SSH target hostname / IP / alias. Defaults to the worker’s
host field when unset.
port: Option<u16>SSH port (ssh -p <port>).
user: Option<String>SSH login user (ssh -l <user>). Defaults to the current user
(or FLODL_INTERNAL_HOST_USER from the controller env).
identity_file: Option<String>Identity file / private key (ssh -i <path>).
options: Vec<String>Pass-through -o Key=Value SSH options (e.g.
"ProxyJump=bastion", "StrictHostKeyChecking=no"). Each entry
becomes one -o ... arg on the spawned ssh command, in the
declared order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SshConfig
impl<'de> Deserialize<'de> for SshConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SshConfig
impl RefUnwindSafe for SshConfig
impl Send for SshConfig
impl Sync for SshConfig
impl Unpin for SshConfig
impl UnsafeUnpin for SshConfig
impl UnwindSafe for SshConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more