Troubleshooting
Quick Diagnostics
sudo -u key9 /opt/k9/bin/k9-ssh --user=<username># Debian / Ubuntu
grep k9-ssh /var/log/auth.log
# RHEL / Fedora / AlmaLinux
grep k9-ssh /var/log/secure
# systemd (most Linux)
journalctl -t k9-ssh
# FreeBSD / OpenBSD
grep k9-ssh /var/log/authlogCommon Problems
No keys returned, no syslog errors
user mismatch in syslog
user mismatch in sysloginvalid username in syslog
invalid username in syslogAPI connection error in syslog
Non-200 status in syslog
Status
Meaning
config file not found or error loading config
config file not found or error loading configSSH login still requires password after configuration
Keys returned but login still fails
Enabling More Verbose Logging
Still Stuck?
Last updated