Using Python logging, ssh-keygen to validate SSH public key material.
Better error reporting in protocol handler scripts, flush output.