Thomas' Tech Tips

Enable debug info with Kerberos and ssh

13 May 2022 - Thomas Damgaard

Debugging Kerberos can be a pain. 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