Increasing the SSH/Telnet Proxy Log Level
1 min
You can elevate the SSH/Telnet Proxy log level to DEBUG via the Kron PAM CLI to facilitate deeper troubleshooting. Increasing the verbosity provides detailed insights into session initialization, command execution, authentication flow, and protocol-level interactions, helping you pinpoint issues more effectively.
To enable debug-level tracing via CLI:
- Log in to Kron PAM CLI and connect to the OSGI console telnet localhost 5555
- List components and current log levels in the OSGI command prompt osgi> loggers
- Change the debug mode in the OSGI command prompt osgi> changeloglevel com.kron* debug
- Exit OSGI CLI console osgi> disconnect
- Change the SSH/Telnet proxy logs tail -f /pam/ssh/log/consoleout.log
Using the exit command to exit from the OSGI console will shut down the Kron PAM Proxy service.
- After debugging, revert to the default log level:
Log in to Kron PAM CLI and connect to the OSGI console.
telnet localhost 5555
Access to CLI console.
osgi> changeloglevel com.kron* none
Exit OSGI CLI console.
osgi> disconnect