Created
February 24, 2020 19:56
-
-
Save anthony2025/7cc9ae05eb9f00089824970c864c3b76 to your computer and use it in GitHub Desktop.
keys coming from a FAT usb cannot handle linux permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The private key should have read and write permissions only for the user and no other permissions for the group and others. | |
# You should change the permission using the chmod command: | |
$ chmod 600 ~/.ssh/id_rsa | |
# Similarly, the public key shouldn’t have write and execute permissions for group and other. | |
$ chmod 644 ~/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment