Skip to content

Instantly share code, notes, and snippets.

@m5lil
Created January 15, 2019 18:59
Show Gist options
  • Save m5lil/b363ba39ea455b2423a2b8b8ec6405bf to your computer and use it in GitHub Desktop.
Save m5lil/b363ba39ea455b2423a2b8b8ec6405bf to your computer and use it in GitHub Desktop.
Server ssh conf

cat ~/.ssh/id_rsa.pub | ssh adminuser@123.45.56.78 "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"

continues...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment