Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Create administrator account

...

  • 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
      IdentityFile /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

Remove password

If an account was enabled with a password, but now the password is to be removed (i.e. for SSH key access only):

Code Block
sudo passwd -l <username>