Chris Green chris@areti.co.uk writes:
So, why doesn't the first one work? I think I've set everything up but I may have missed something obvious. Any ideas anyone?
Check the permissions on the files under ~/.ssh (and on ~/.ssh itself). Check that the target's ~/.ssh/authorized_keys actually does have at least one of the source's public keys in it. Check that PubkeyAuthentication is enabled in the target's sshd_config. Check that you're actually connecting to the host you think you are.