Skip to content

Instantly share code, notes, and snippets.

@SiewYan
Last active July 17, 2018 20:00
Show Gist options
  • Select an option

  • Save SiewYan/81129f1d5b6e30e98f2e00a37f51a1a2 to your computer and use it in GitHub Desktop.

Select an option

Save SiewYan/81129f1d5b6e30e98f2e00a37f51a1a2 to your computer and use it in GitHub Desktop.

ssh-keygen -t rsa ssh b@B mkdir -p .ssh cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys' ssh b@B

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