I have a ubuntu Natty instance on EC2, and I can SSH into it by
ssh -v -i ec2-keypair ubuntu@[email protected]
But I'd like to set up password less sshing. So I tried these options and nothing is working:
$ ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
Permission denied (publickey).
$ ssh-copy-id -i ~/.ssh/ec2-keypair [email protected]
/usr/bin/ssh-copy-id: ERROR: No identities found
$ ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
Permission denied (publickey).