Skip to content

Instantly share code, notes, and snippets.

@morteza-mori
Created July 2, 2017 05:49
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 morteza-mori/0709141f80753f29439e3b5316296bcc to your computer and use it in GitHub Desktop.
Save morteza-mori/0709141f80753f29439e3b5316296bcc to your computer and use it in GitHub Desktop.
ssh rsa
ssh key
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub | ssh -p 22 swapnil@remote-server ";mkdir -p ~/.ssh && cat >> ~/.ssh/authorized$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment