From 3c9ad4faa327f6a990063ce6827b588058dd1954 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Wed, 15 Nov 2023 19:37:18 +0100 Subject: [PATCH] new: updated astbc-ssh2-tokio dependency to 0.8.2 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/plugins/ssh/mod.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7cd19a0..2657937 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -260,9 +260,9 @@ dependencies = [ [[package]] name = "async-ssh2-tokio" -version = "0.7.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eb0367d51247c7eff825eec9fa3c1a4710b4042dd5c6f2ef2fdd105af9addee" +checksum = "446d96124d6860a891d99d9ecc35360e4c90df16423dd31357256f9b0d49ded5" dependencies = [ "async-trait", "russh", diff --git a/Cargo.toml b/Cargo.toml index 761e43e..824fff3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ reqwest = { version = "0.11.20", features = [ base64 = { version = "0.21.4", optional = true } ntlmclient = { version = "0.1.0", optional = true } trust-dns-resolver = { version = "0.23.0", optional = true } -async-ssh2-tokio = { version = "0.7.1", optional = true } +async-ssh2-tokio = { version = "0.8.2", optional = true } sqlx = { version = "0.7.2", features = [ "runtime-tokio", "tls-native-tls", diff --git a/src/plugins/ssh/mod.rs b/src/plugins/ssh/mod.rs index f64ca48..83502c8 100644 --- a/src/plugins/ssh/mod.rs +++ b/src/plugins/ssh/mod.rs @@ -63,7 +63,7 @@ impl Plugin for SSH { let res = tokio::time::timeout( timeout, Client::connect( - &address, + address.clone(), &creds.username, method, ServerCheckMethod::NoCheck,