First of all, try the following tips still has a problem:
1. According to AWS official documentation generated keys, translates into putty or winSCP can read. The PKK, 1024 or 2048 - bit tried, or rejection,
http://docs.amazonaws.cn/AWSEC2/latest/UserGuide/ec2-key-pairs.html
2. Review the AMI for Ubuntu AMI, according to AWS root, the official document tried Ubuntu, ec2 - user can't access, also hint is rejected,
3. Open the corresponding instance of the SSH port 22, all TCP port, or rejection,
May I have used the AWS using putty or winSCP connection is successful predecessors, to help give directions, which place is not set in place? Still another
Thank you very much,
CodePudding user response:
The elder brothers do without meCodePudding user response:
The error is familiar from The when I set up The connection almost a year line. If you 'r e setting up AWS SSH for The first time, these address The most common problems:Wrong username: Disconnected: No supported authentication methods available (server sent: publickey)
https://stackoverflow.com/questions/21535907/disconnected-no-supported-authentication-methods-available-server-sent-publi
Incorrect. The PKK file: Unable to connect to amazon server using putty
https://stackoverflow.com/questions/19096348/unable-to-connect-to-amazon-server-using-putty