I created a user called 'grader' to my instance and gave it sudo permission, also I switched the password in /etc/ssh/sshd_config to be off.
I generated a key pair in my local machine and added the public key to the instance. when i try to access the instance using the DEFAULT user provided by Amazon AWS and my generated keys it works
ssh -i "udacityLinux" ubuntu@ec2-18-218-9-117.us-east-2.compute.amazonaws.com
but when i try the same using the 'grader' user
ssh -i "udacityLinux" grader@ec2-18-218-9-117.us-east-2.compute.amazonaws.com
i get
grader@ec2-18-218-9-117.us-east-2.compute.amazonaws.com: Permission denied (publickey).
how can i fix this to be able to login using my grader user?