...
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 |
---|
language | text |
---|
theme | FadeToGrey |
---|
|
$ cat *.pub >> authorized_keys
|
Now, when you ssh between COE machines, your ssh key will be used, instead of password authentication.
Info |
---|
|
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 |
---|
language | text |
---|
theme | FadeToGrey |
---|
|
$ chmod 650 authorized_keys
$ chmod 600 id_rsa |
Info |
---|
|
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 |
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | EPK |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("remote","kb-remote","= "ssh" ) and type = "page" and space = "EPK" |
---|
labels | kb-remote remote ssh |
---|
|
...