Skip to content

Instantly share code, notes, and snippets.

@post2web
Created November 10, 2017 23:52
Show Gist options
  • Save post2web/9d24275e27b5169bef8c96fc40c06a26 to your computer and use it in GitHub Desktop.
Save post2web/9d24275e27b5169bef8c96fc40c06a26 to your computer and use it in GitHub Desktop.
Generate a rsa keypair:
# ssh-keygen
then copy it on the server with one simple command:
# ssh-copy-id hostname
you can now log in without password:
# ssh hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment