1. Login to your EC2 instance using your
6. Restart ssh:
file2. Create a new user that will access the instance using a password:
where:
- : use as the standard shell
- : create a home directory at
- : add to group
- : the username of the new user
4. Add user to sudoers file by using and add the following line:
5. Enable password authentication by editing : change to
6. Restart ssh:
Logout of your instance ( ) and try your new login without the file:
0 comments:
Post a Comment