Skip to content

Instantly share code, notes, and snippets.

@2KAbhishek
Created October 26, 2020 08:35
Show Gist options
  • Save 2KAbhishek/02abf81774243d7ff1007eb02729fed5 to your computer and use it in GitHub Desktop.
Save 2KAbhishek/02abf81774243d7ff1007eb02729fed5 to your computer and use it in GitHub Desktop.
Fix SSH key file permissions
#!/bin/bash
chmod 0644 ~/.ssh/id_rsa.pub
chmod 0600 ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment