9월, 2015의 게시물 표시

How to set password authentication with ec2-user of AWS

In fact, it would be problem to change instances of AWS to invalidate pem file(s) when one or some of system administrators or server side programmers / engineers leaves your group or company. But managing all of pem files by only one authorized person, it would be risky and tedious to do the job when the number of servers grows. For this situation, the traditional password authentication is the way to be acceptable.     There are some articles and sites about adding a new user with password to LINUX (or UNIX) server operated on AWS, or just dealing with pem file of ec2-user. But it is not easy to find the related things about applying password authentication with ec2-user clearly, although it is easy to do. And the most articles end with just creating the password for ec2-user, but it may not work for asking password whenever doing login. So, I'm writing how to apply the password authentication to ec2-user (default user) of AWS (LINUX / UNIX). Please do the following c