Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create ~/.ssh/config file.

    Code Block
    sudo nano ~/.ssh/config
  • Add entry for server. For example,

    Code Block
    Host openedx-01
      Hostname ece-openedx-01.eng.uwaterloo.ca
      User d24lau
      IdentifyFileIdentityFile /Users/d24lau/.ssh/id_rsa_d24lau_01
  • Exit and save.

  • Load the key into the SSH Agent. For example,

    Code Block
    sudo chmod 600 ~/.ssh/id_rsa_d24lau_01
    ssh-add ~/.ssh/id_rsa_d24lau_01

...