search cancel

HowTo: Enable Debug Logs on SSH Target

book

Article ID: 174892

calendar_today

Updated On:

Products

Secure Access Cloud

Issue/Introduction

HowTo: Enable Debug Logs on SSH Target

Resolution

The SSH debug log, located at /var/log/secure is configured by default to printout very partial information. 

Raising the debug level is done by editing /etc/ssh/sshd_config and changing the value of LogLevel to DEBUG3:

#LOGLEVEL DEBUG3

Following the change, restart the sshd by executing:

 $ service sshd restart