mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-14 16:35:06 +01:00
use namespaces
This commit is contained in:
parent
cbf00dc6ff
commit
4e9eb447db
9 changed files with 247 additions and 109 deletions
|
|
@ -456,7 +456,7 @@ impl ChannelsState {
|
|||
return Err(peer_error!("server tried to open shell"));
|
||||
}
|
||||
|
||||
info!(channel = %our_channel, "Opening shell");
|
||||
debug!(channel = %our_channel, "Opening shell");
|
||||
ChannelRequest::Shell { want_reply }
|
||||
}
|
||||
"exec" => {
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ pub mod auth {
|
|||
|
||||
use cluelessh_format::{numbers, NameList};
|
||||
use cluelessh_transport::{packet::Packet, peer_error, Result};
|
||||
use tracing::{debug, info};
|
||||
use tracing::debug;
|
||||
|
||||
pub struct ServerAuth {
|
||||
has_failed: bool,
|
||||
|
|
@ -363,7 +363,7 @@ pub mod auth {
|
|||
let method_name = p.utf8_string()?;
|
||||
|
||||
if method_name != "none" {
|
||||
info!(
|
||||
debug!(
|
||||
%username,
|
||||
%service_name,
|
||||
%method_name,
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ impl ServerConnection {
|
|||
|
||||
let reason_string = numbers::disconnect_reason_to_string(reason);
|
||||
|
||||
info!(%reason, %reason_string, %description, "Client disconnecting");
|
||||
debug!(%reason, %reason_string, %description, "Client disconnecting");
|
||||
|
||||
return Err(SshStatus::Disconnect);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue