NOTE : I have referenced lot of websites and referenced stack overflow answers but its not working for me
I have set up ssh
login for my Raspberry Pi 3 Model B V1.2 and its working like a breeze.
Now I want to make it more secure by removing password login for my pi user. So, I did the following changes in the file /etc/ssh/sshd_config
From
#PasswordAuthentication Yes
To
PasswordAuthentication no
Save and exit the file
Then
sudo service ssh restart
Even tried rebooting the Pi
But when I connect with other devices its prompting for Password, which it must not happen.
It must not allow any prompts for password and must show error. How can I achieve this?
References:
https://steve.dynedge.co.uk/2012/05/30/logging-into-a-rasberry-pi-using-publicprivate-keys/
https://dvpizone.wordpress.com/2014/03/02/how-to-connect-to-your-raspberry-pi-using-ssh-key-pairs/
ssh -vv ...
and edit in the output above.