Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

SSH Error: Permission denied (publickey)

Uncategorized

Error

$ ssh rajesh@192.168.59.1
rajesh@192.168.59.1: Permission denied (publickey).

Solution

You need to enable the Password based authentication and restart sshd services

$ vi /etc/ssh/sshd_config

$ sudo service ssh restart

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x