why use ssh public key authentication
Why is using an SSH key more secure than using passwords? If people use a password to log in to a UNIX server, then it could be forced to expire the password, then they change it. If people use an ssh key and have no passwords, no password expiry, then nothing forces them to change their SSH key regularly.