While trying to add new user and ssh using the user login details after adding user ssh keys
was getting below error
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
The issue was due to permissions
Changing to below permissions resolved the issue
chmod 0700 /home/surmeet/.ssh/
chmod 0600 /home/surmeet/.ssh/authorized_keys
Keep your servers secure, optimized, and running smoothly with our reliable 24/7 server management and technical support.