The default way to access an new EC2 instance is by using your key-pair.
How can I allow other users to connect to my instance, without giving them my keys?
(Ideally, I’d like them to be prompted for user/password on login)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit /etc/ssh/sshd_config and set
PasswordAuthenticationtoyes.Enter the command
sudo /etc/init.d/sshd reload.Then you could Create a User with:
(check the man for options on how to set home directory etc…)
Then
You will be prompted for a New password