Versions Compared

Key

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

...

Next, copy the contents of ~/.ssh/id_rsa.pub to the file ~/.ssh/authorized_keys

An easy way to copy the contents of your pub file is to use the following command:

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

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


Info
titleNote

Please be aware 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 our FAQ entry SSH Access to CS Class accounts for Teaching Assistants

Filter by label (Content by label)
showLabelsfalse
max5
spacesEPK
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("remote","kb-remote","= "ssh" ) and type = "page" and space = "EPK"
labelskb-remote remote ssh

...

Page Properties
hiddentrue


Related issues