The ServerHandler struct currently (as of this writing) sits at 408 bytes, which gets created for every SSH connection that comes in. Perhaps it might be worth shaving off some extra bytes, especially as this could lead to DoS from too many unauthenticated sessions.
The
ServerHandler
struct currently (as of this writing) sits at 408 bytes, which gets created for every SSH connection that comes in. Perhaps it might be worth shaving off some extra bytes, especially as this could lead to DoS from too many unauthenticated sessions.