russh client config for exec relays.
()
| 1496 | |
| 1497 | /// russh client config for exec relays. |
| 1498 | fn exec_ssh_client_config() -> russh::client::Config { |
| 1499 | russh::client::Config { |
| 1500 | keepalive_interval: Some(EXEC_KEEPALIVE_INTERVAL), |
| 1501 | keepalive_max: EXEC_KEEPALIVE_MAX, |
| 1502 | ..Default::default() |
| 1503 | } |
| 1504 | } |
| 1505 | |
| 1506 | /// Treat channel EOF before an exit status as relay failure, not exit code 1. |
| 1507 | fn exec_loop_result(exit_code: Option<i32>) -> Result<i32, Status> { |
no outgoing calls
no test coverage detected