mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 18:14:06 +02:00
ssh attempt
This commit is contained in:
parent
2590079b30
commit
47335719f3
1 changed files with 3 additions and 1 deletions
|
|
@ -82,7 +82,9 @@ impl SshSession {
|
||||||
sleep(Duration::from_secs(1)).await;
|
sleep(Duration::from_secs(1)).await;
|
||||||
match SshSession::open_impl(ip, auth).await {
|
match SshSession::open_impl(ip, auth).await {
|
||||||
Ok(ssh) => return Ok(ssh),
|
Ok(ssh) => return Ok(ssh),
|
||||||
Err(SshError::ConnectionTimeout | SshError::Refused) => {}
|
Err(
|
||||||
|
SshError::ConnectionTimeout | SshError::Refused | SshError::Unauthorized,
|
||||||
|
) => {}
|
||||||
Err(e) => return Err(e),
|
Err(e) => return Err(e),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue