diff --git a/ssh-transport/src/lib.rs b/ssh-transport/src/lib.rs index 3bb078f..0f0957b 100644 --- a/ssh-transport/src/lib.rs +++ b/ssh-transport/src/lib.rs @@ -131,6 +131,8 @@ impl ServerConnection { // TODO: care that its SSH 2.0 instead of anythin anything else // The client will not send any more information than this until we respond, so discord the rest of the bytes. let client_identification = received.to_owned(); + let client_ident_string = String::from_utf8_lossy(&client_identification); + debug!(identification = %client_ident_string, "Client identifier"); self.packet_transport.queue_send_protocol_info(); self.state = ServerState::KeyExchangeInit { client_identification,