I am able to ssh into an ec2 instance as the root user using the private key .pem that was generated when I created the instance.
$ ssh -i Desktop/key.pem firstname.lastname@example.org
I then created a new user
$ useradd dummy
When I run the following command to sign in as the dummy user
$ ssh -i Desktop/key.pem email@example.com
I get the following error
How do I ssh into the new instance as the dummy user?