Skip to content

Instantly share code, notes, and snippets.

@anthony2025
Created February 24, 2020 19:56
Show Gist options
  • Save anthony2025/7cc9ae05eb9f00089824970c864c3b76 to your computer and use it in GitHub Desktop.
Save anthony2025/7cc9ae05eb9f00089824970c864c3b76 to your computer and use it in GitHub Desktop.
keys coming from a FAT usb cannot handle linux permissions
# 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