# Public key authentication - SSH asks for passphrase after rebooting local machine?

I created a public/private key pair on a local machine using ssh-keygen. I entered a passphrase. I then used ssh-id-copy to put the public key on the remote machine.

When I ssh into the remote machine I'm asked for my passphrase after each each reboot on the local machine. Is this expected behavior? The local machine is using gentoo and the remote machine is using ubuntu.

Reference material I used: https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html

Check /var/log/secure of the server where you are trying to ssh for possible errors. Also make sure that permission of /home/<username>/.ssh is 700