There are many time myself got failed to get it work using id_rsa.pub key copy to remote authorized_keys but later it is understood that having proper permission set in .ssh config folder will make everything work fine.
So here is the list of folders and files that need to have permissions exactly the way here.
If the permissions are set up on remote machine in the above way that would make everything work.
So here is the list of folders and files that need to have permissions exactly the way here.
drwx------ | 700 | .ssh | ||
-rw------- | 600 | .ssh/authorized_keys | ||
-rw------- | 600 | .ssh/id_rsa | ||
-rw-r--r-- | 644 | .ssh/id_rsa.pub | ||
-rw-r--r-- | 644 | .ssh/known_hosts | ||
If the permissions are set up on remote machine in the above way that would make everything work.
No comments:
Post a Comment