Skip to content

Instantly share code, notes, and snippets.

@og-shawn-crigger
Created June 20, 2013 15:16
Show Gist options
  • Save og-shawn-crigger/5823652 to your computer and use it in GitHub Desktop.
Save og-shawn-crigger/5823652 to your computer and use it in GitHub Desktop.

Revisions

  1. og-shawn-crigger created this gist Jun 20, 2013.
    1 change: 1 addition & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    cat ~/.ssh/id_rsa.pub | ssh user@machine "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"