geekyhacker.com
Configure SSH key-based authentication on Raspberry Pi
Using password-based SSH is dangerous, especially if you want to put your Raspberry Pi on a public network such as the internet. That’s why you should disable the password-based SSH and switc…