Skip to content

Instantly share code, notes, and snippets.

@SiewYan
Last active July 17, 2018 20:00
Show Gist options
  • Save SiewYan/81129f1d5b6e30e98f2e00a37f51a1a2 to your computer and use it in GitHub Desktop.
Save SiewYan/81129f1d5b6e30e98f2e00a37f51a1a2 to your computer and use it in GitHub Desktop.

Revisions

  1. SiewYan revised this gist Jul 17, 2018. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions PasswordlessLogin.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,7 @@
    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
  2. SiewYan created this gist Jul 15, 2018.
    4 changes: 4 additions & 0 deletions PasswordlessLogin.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    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