用putty链接亚马逊云服务aws ec2时秘钥已经导入了还是连接不上_百度...
这个提示是用户名不对, 我也遇到这个问题,关键是 所有的用户名都试过了,还是这个样,你用的AMI是什么 centos还是ubuntu啊 我用的ubuntu 也是登录不上 , 建议你试试centos 登陆试试
怎么解决的, 我最近也出现了相同问题.
The appropriate user names are as follows:
For an Amazon Linux AMI, the user name is ec2-user.
For a RHEL5 AMI, the user name is either root or ec2-user.
For an Ubuntu AMI, the user name is ubuntu.
For a Fedora AMI, the user name is either fedora or ec2-user.
For SUSE Linux, the user name is root.
Otherwise, if ec2-user and root don t work, check with the AMI provider.
You should also verify that your private key (.pem) file has been correctly converted to the format recognized by PuTTY (.ppk). For more information about converting your private key, see Connecting to Your Linux Instance from Windows Using PuTTY.
For an Amazon Linux AMI, the user name is ec2-user.
For a RHEL5 AMI, the user name is either root or ec2-user.
For an Ubuntu AMI, the user name is ubuntu.
For a Fedora AMI, the user name is either fedora or ec2-user.
For SUSE Linux, the user name is root.
Otherwise, if ec2-user and root don t work, check with the AMI provider.
You should also verify that your private key (.pem) file has been correctly converted to the format recognized by PuTTY (.ppk). For more information about converting your private key, see Connecting to Your Linux Instance from Windows Using PuTTY.
是不是还需要开启端口的问题,可以试试端口