각 OS에 맞는 ID로 입력을 해주세요~!: 우분투면 ec2-user가 아닌 ubuntu입니다.
For an Ubuntu AMI, the user name is ubuntu.
Error: Server refused our key or No supported authentication methods available
If you use PuTTY to connect to your instance and get either of the following errors, Error: Server refused our key or Error: No supported authentication methods available, verify that you are connecting with the appropriate user name for your AMI. Enter the user name in the User name box in the PuTTY Configuration window.
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.