Why does key-based ssh fail even after setting up the authorized_keys file on the remote host?
- by Brad Grissom
These details don't matter but I am on a Ubuntu 12.04 machine and I want to ssh into my RaspberryPi without a password. I followed the standard procedure for setting up ssh without a password:
local $ ssh-keygen -t rsa
(hit enter for defaults to the questions)
local $ scp ~/.ssh/id_rsa.pub matt@raspihost:~/.ssh/authorized_keys
I logged onto the raspihost and checked all my permissions on ~/.ssh/ and on the authorized_keys file itself. It was still not working!