ssh root@server 'Permission denied (publickey)'
SSH authentication works and happens automatically when I log into my server with Putty. However, when I run ssh root@server or ssh new_user@server, after following the tutorial on adding a new user and giving it root permissions, I get ‘permission denied (publickey)’. Should I worry about this, are either of my users secure?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×