Quantcast
Viewing all articles
Browse latest Browse all 6

How to make public authentication work in SSH

After you set up the public key authentication in any Unix server, if it keeps asking for your password even after you put your public key in the ~/.ssh/authorized_keys file you need to check the file permissions.

To fix this problem, check if the owner and the file permission is set right on:
Home directory (700)
.ssh directory (700)
authorized_keys file (600)


Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 6

Trending Articles