mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-14 16:35:06 +01:00
moves
This commit is contained in:
parent
3124e6a2ab
commit
8a627949a3
23 changed files with 102 additions and 77 deletions
|
|
@ -15,6 +15,7 @@ rpassword = "7.3.1"
|
|||
sha2 = "0.10.8"
|
||||
hex = "0.4.3"
|
||||
pem = "3.0.4"
|
||||
cluelessh-format = { version = "0.1.0", path = "../../lib/cluelessh-format" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
use std::{io::Write, path::PathBuf};
|
||||
|
||||
use clap::Parser;
|
||||
use cluelessh_agent_client::{IdentityAnswer, SocketAgentConnection};
|
||||
use cluelessh_format::Writer;
|
||||
use cluelessh_transport::key::PublicKey;
|
||||
use eyre::{bail, Context};
|
||||
use sha2::Digest;
|
||||
use cluelessh_agent_client::{IdentityAnswer, SocketAgentConnection};
|
||||
use cluelessh_transport::{key::PublicKey, parse::Writer};
|
||||
|
||||
#[derive(clap::Parser, Debug)]
|
||||
struct Args {
|
||||
|
|
|
|||
|
|
@ -158,7 +158,6 @@ async fn handle_connection(
|
|||
},
|
||||
},
|
||||
result = futures::future::try_join_all(&mut channel_tasks), if channel_tasks.len() > 0 => {
|
||||
debug!(?result, "error!");
|
||||
match result {
|
||||
Ok(_) => channel_tasks.clear(),
|
||||
Err(err) => return Err((err as eyre::Report).wrap_err("channel task failed")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue