...
Remove the comment and change to no
Code Block | ||
---|---|---|
| ||
sudo /etc/init.d/ssh reload
* Reloading OpenBSD Secure Shell server's configuration sshd
...done.
|
Now go to another machine and try to authenticate using ssh,
Code Block | ||
---|---|---|
| ||
ssh tpham@lemonbistro.com
Permission denied (publickey).
|
The Permission denied indicates that password authentication is now disabled.
Resources
http://www.ibm.com/developerworks/library/l-keyc.html - pretty good article, I think I can improve it, shorter, clearly show when running on client or server.
...