19.07.2018 - How do I enable a password login instead of a key pair when logging into my EC2 instance using SSH? The following procedure is tested on Amazon Linux, RHEL, SUSE, and Ubuntu. If ec2-user or root doesn't work, check with your AMI provider. 2. Back to the AWS Support Knowledge Center..