Added basic auth support

This commit is contained in:
Ultradesu
2025-03-14 02:14:15 +02:00
parent b4c2fae778
commit c3575b013f
4 changed files with 72 additions and 19 deletions

View File

@ -105,6 +105,10 @@ struct Args {
help = "Client mode: Path to the known_hosts file"
)]
known_hosts: String,
/// Basic auth string for client mode. Format: user:pass
#[arg(long, default_value = "", help = "Client mode: Basic Auth credentials")]
basic_auth: String,
}
#[actix_web::main]