pub struct SshOptions {
pub executable: PathBuf,
pub environment: Environment,
pub destination: String,
pub remote_executable: String,
pub read_only: bool,
pub filesystem: FilesystemAccess,
}Expand description
Launch a private resolver through OpenSSH (0.21+).
Configuration must come from the application or user, never an untrusted project. The remote account is the authorization boundary; this does not sandbox the resolver to a project. Authentication and host-key enrollment must already be configured. The remote login shell must support POSIX quoting.
Fields§
§executable: PathBufLocal OpenSSH executable. Privileged callers must use an absolute path.
environment: EnvironmentLocal SSH process environment. Privileged hosts should use an allowlist.
destination: StringTrusted SSH host alias, hostname, or user@host.
remote_executable: StringRemote executable, interpreted on the resolver machine, not locally.
read_only: boolRefuse mutation methods and resolution that would persist a new secret.
filesystem: FilesystemAccessImplementations§
Trait Implementations§
Source§impl Clone for SshOptions
impl Clone for SshOptions
Auto Trait Implementations§
impl Freeze for SshOptions
impl RefUnwindSafe for SshOptions
impl Send for SshOptions
impl Sync for SshOptions
impl Unpin for SshOptions
impl UnsafeUnpin for SshOptions
impl UnwindSafe for SshOptions
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