SSH passwordless login not working after clean install

I was having this issue until I ssh’d as rancher user and now I’m in!

so instead of ssh -vv -i "<key name>" ec2-ip

I did: ssh -vv -i "<key name>" rancher@ec2-ip

-I