Couldnt find a solution for dropping out of the session after loggin in using key authentication. But if you start the service as a user instead of system and chown and chmod the /var/log/OpenSSHd.log to give that user appropriate rights it works fine. ************************************************************ Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or Maritime Safety Queensland, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. ************************************************************