I want to login my server without the password, I have succeeded on the server localhost, but I failed when I try to login from my mac pro.
First, I test on my server.
Step 1: generate the Key
Step 2: cat to the authorized_keys, and Try Passwordless SSH login localhost, there is no problem.
So, I try this on my mac pro
Step 3: generate the key
Step 4: copy the public key to my sever, and cat to the authorized_keys
Step 5: try login to my sever on my mac pro, still need the password
Step 6: I google the "Passwordless SSH login", and find on the SSH said that The file named authorized_keys should have permissions 600 & ~/.ssh directory should generally have permission 700. So I do the following step
Step 7: Still need the password
Can someone help this problem? My mac is OS X 10.11, My server is CentOS 7.0 64bit
Update:
- The config is the authorized_keys