I have an Ubuntu Linux server allowing password authentication for SSH, and I want to switch it to SSH keys only and disable password login.
Before I disable password login, how can I find out which users are still using passwords, and which have switched to key authentication?