Created
October 26, 2020 08:35
-
-
Save 2KAbhishek/02abf81774243d7ff1007eb02729fed5 to your computer and use it in GitHub Desktop.
Fix SSH key file permissions
This file contains 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
#!/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