Thomas' Tech Tips

Enable debug info with Kerberos and ssh

13 May 2022 - Thomas Damgaard

Debugging Kerberos on Linux can be an absolute pain due to its lack of good debug output.

One thing that might help ease the pain is to enable Kerberos debug trace. This is done by setting the environment variable KRB5_TRACE.


KRB5_TRACE=/dev/stdout ssh

This will cause Kerberos debug information to be printed on STDOUT.

Filed under: kerberos, linux, ssh, tips

Back to article list