I'm running into a weird problem when creating user accounts and connecting to AWS instances. The process involves starting two instances, one with CentOS and the other with AmazonLinux2, and creating another user (the full steps are described at https://docs.aws.amazon.com/AWSEC2/late ... users.html) with the commands:
Code: Select all
sudo adduser monica
sudo su - monica
mkdir .ssh
chmod 700 .ssh
touch .ssh/authorized_keys
vi .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
Code: Select all
login as: monica
Server refused our key
Thank you,
Arturo