In this tutorial our user is named sammy but you should substitute the appropriate username into the above command. If you’re using the root account to set up keys for a user account, it’s also important that the ~/.ssh directory belongs to the user and not to root: This recursively removes all “group” and “other” permissions for the ~/.ssh/ directory. It should start with ssh-rsa AAAA.įinally, we’ll ensure that the ~/.ssh directory and authorized_keys file have the appropriate permissions set: In the above command, substitute the public_key_string with the output from the cat ~/.ssh/id_rsa.pub command that you executed on your local system.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |