Skip to content

Instantly share code, notes, and snippets.

@xymostech
Created December 29, 2011 05:12
Show Gist options
  • Save xymostech/1532061 to your computer and use it in GitHub Desktop.
Save xymostech/1532061 to your computer and use it in GitHub Desktop.
Help my friend set up ssh
mkdir -p ~/.ssh/
echo 'ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
ControlPersist 4h' > ~/.ssh/config
ssh-keygen -q -t rsa -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment