Skip to content

Instantly share code, notes, and snippets.

@shercoder
Last active December 19, 2015 17:38
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 shercoder/5992823 to your computer and use it in GitHub Desktop.
Save shercoder/5992823 to your computer and use it in GitHub Desktop.
Linux Commands

##Create public keys

  • Generate a public key
ssh-keygen -t dsa
  • Now put public key to your remote server
scp .ssh/id_dsa.pub singh@server.com:
  • Install public key on remote server
cat id_dsa.pub >> .ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment