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
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/10/image.png)
$ sudo service ssh restart
Latest posts by rajeshkumar (see all)