Upgrading to MacOS Sierra will break your SSH keys and lock you out of your own servers.
Quincy Larson
49843
A few comments,
- make sure your ~/.ssh/authorized_keys file is chmod 600.
- the identity file for ssh (-i) has always been the private key, not the public key file, perhaps the old client would quietly accept the public key file
- ssh-copy-id is a handy utility for putting public keys in place on your servers
- you shouldn’t normally ever have to ssh to root, ssh as user and sudo is the secure way to do this
- Use IdentityFile option in .ssh/config to permanently setup the use of ~/.ssh/id_rsa