2
我使用bitami AMI创建了一个EC2实例。我使用EC2-插件密钥对公用事业权限被拒绝(publickey)with bitami AMI&EC2
创建EC2密钥对,当我试图ssh -i id_rsa-my-keypair [email protected]<myinstance> -v
我有以下错误
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: settwo_05012012.pem
debug1: Authentications that can continue: publickey
debug1: Trying private key: id_rsa-my-keypair
debug1: read PEM private key done: type RSA
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
有趣的是,我试图使用相同的创建另一个实例密钥对与Ubuntu的阿米,我没有问题进入。我已经排除了22端口的问题。我真的想用这个bitami。帮助将不胜感激。
以下是ssh的配置
cat ssh_config|grep -v "#"
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no