1

Permission denied (publickey) connecting Amazon EC2 via SSH

view story
linux-howto

http://serverfault.com – When I'm trying to connect via SSH. It was ok, but after some manipulations by me :-[ I've downloaded keypairs, copy to .ec2, chmod to 600, ssh-keygen -y -f ~/.ec2/gsg-keypair > ~/.ec2/gsg-keypair.pub I'm using MacOS. I think it's something wrong with permissions... but I've tried all combinations and all recommendations ) .ec2/ ls -l -rw-------@ 1 olegpasko staff 1692 Apr 2 02:26 gsg-keypair -rw-r--r-- 1 olegpasko staff 381 Apr 2 10:55 gsg-keypair.pub .ssh/ ls -l -rw------- 1 olegpasko staff 1766 Jun 8 2012 github_rsa -rw-r--r-- 1 olegpasko staff 398 Jun 8 2012 github_rsa.pub -rw------- 1 (HowTos)