You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let config = client::Config{connection_timeout:Some(Duration::from_secs(5)),
..<_>::default()};
When I connect to a ssh server that is not existed, the time elapsed during connection with server is longer than connection_timeout.
Is it a useless field in client::Config?
The text was updated successfully, but these errors were encountered:
The option is somewhat misleadingly named (thrussh legacy) - it's in fact the inactivity timeout after a live connection is closed. If you want to time out when setting up a connection, you can just use tokio::time::timeout. I'll keep this ticket open to rename the option later.
When I connect to a ssh server that is not existed, the time elapsed during connection with server is longer than
connection_timeout
.Is it a useless field in
client::Config
?The text was updated successfully, but these errors were encountered: