Versions Compared

Key

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

...

An easy way to copy the contents of your pub file and then protect them by removing world read permissions is to use the following commandscommand:

Code Block
languagetext
themeFadeToGrey
 $ cat *.pub >> authorized_keys
 $ chmod 650
authorized_keys

Now, when you ssh between COE machines, your ssh key will be used, instead of password authentication. 


Info
titleNote

Please note that you want your keys to be as secure as possible. Some operating systems create files with world read permissions that have to be removed before use

example commands to set world permissions to "0" no read, write, or execute permissions.

Code Block
languagetext
themeFadeToGrey
 $ chmod 650 authorized_keys
 $ chmod 600 id_rsa


Info
titleNote

If you are a TA who needs access to a class account via SSH keys, please see SSH Access to CS Class accounts for Teaching Assistants

...