Configuring CentOS 5.2 to accept passwordless authentication via PKI
I am sure most people reading this blog know how to do this, setup password less authentication using Public Key Infrastructure, but there are a few minutea that I was missing.
The .ssh directory needs to be read/writeable/executabe by the owner only (chmod 700 .ssh)
authorized_keys and authorized_keys2 need to be read/writeable by the owner only (chmod 600 authorized_key*).
On CentOS 5.2 I also dropped in a .config file into the .ssh directory I was able to connect with Putty and not use a password.
0 comments:
Post a Comment