I’ve been using username and password to log in to Linux servers, but recently I found many failed login attempts in the Linux logs, with many IPs trying to brute force user passwords. For security reasons, I decided to disable password login and use SSH RSA Key for authentication instead.