Skip to content

Instantly share code, notes, and snippets.

@davidsword
Created December 12, 2016 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidsword/62a7cffaf0b2b8574e17a58d379a90a1 to your computer and use it in GitHub Desktop.
Save davidsword/62a7cffaf0b2b8574e17a58d379a90a1 to your computer and use it in GitHub Desktop.
cd ~/.ssh
ssh-keygen -b 1024 -f keyname -t dsa
cat keyname.pub >> ~/.ssh/authorized_keys
chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment