Skip to content

Instantly share code, notes, and snippets.

@ruseel
Last active December 20, 2015 05:19
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 ruseel/6077933 to your computer and use it in GitHub Desktop.
Save ruseel/6077933 to your computer and use it in GitHub Desktop.
dist authorized_keys
cat .ssh/authorized_keys | ssh $H 'mkdir -p .ssh; cat >> .ssh/authorized_keys; chmod go-w .ssh; chmod 600 .ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment