pub struct InsecureOption;Expand description
Warns about directives that weaken SSH security.
Catches dangerous settings like StrictHostKeyChecking no (disables MITM protection) and ForwardAgent yes on wildcard hosts (exposes your agent to every server you connect to).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InsecureOption
impl RefUnwindSafe for InsecureOption
impl Send for InsecureOption
impl Sync for InsecureOption
impl Unpin for InsecureOption
impl UnsafeUnpin for InsecureOption
impl UnwindSafe for InsecureOption
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