Skip to main content

interactive_shell

Function interactive_shell 

Source
pub async fn interactive_shell(
    host: &str,
    port: u16,
    user: &str,
    pass: &str,
) -> Result<()>
Expand description

Interactive shell over SSH: pty + local stdio, no host ssh binary. Cross-platform raw mode via crossterm (restored on exit via the guard); Ctrl-C inside goes to the guest, Ctrl-D / exit ends the session.