modify test configuration
fix typo
borrow logging from openssh