Skip to content

Instantly share code, notes, and snippets.

@xiangjjj
Created March 16, 2017 13:47
Show Gist options
  • Save xiangjjj/37d37110bcc54b0159678ca5373ced80 to your computer and use it in GitHub Desktop.
Save xiangjjj/37d37110bcc54b0159678ca5373ced80 to your computer and use it in GitHub Desktop.
# put public key in authorized_keys at the server
# ~/.ssh/authorized_keys lists the public keys (RSA/DSA) that
# can be used for logging in as this user.
cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment