Created
August 5, 2018 14:44
-
-
Save lawvs/8dc6a9088bd9a6a5d15fca12da37e61a to your computer and use it in GitHub Desktop.
Adding public key
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 | |
mkdir ~/.ssh | |
touch ~/.ssh/authorized_keys | |
# vim ~/.ssh/authorized_keys | |
chmod 700 ~/.ssh | |
chmod 600 ~/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment