Skip to content

Commit 309189c

Browse files
committed
document
1 parent 8a2108d commit 309189c

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

doc/tools/SSH-keys.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,12 @@ Start-Service ssh-agent
3838

3939
## Deploying the public key
4040

41-
:::{important}
42-
TODO: write helper script/process to get public keys onto every inst.
43-
:::
44-
45-
For each instrument, append your **public** key (the one from the file ending `.pub`) to the
46-
following locations on each instrument:
47-
```
48-
c:\Users\spudulike\.ssh\authorized_keys
49-
c:\ProgramData\ssh\administrators_authorized_keys
50-
```
41+
- Add your public key to the [keys repository](https://github.com/ISISComputingGroup/keys).
42+
- Ask a developer whose key is *already* deployed to run the deployment script, which will
43+
update the `authorized_keys` files on each instrument.
5144

52-
The `administrators_authorized_keys` file must be set up with correct permissions. If the file
53-
was originally created by an administrator they should already be correct, otherwise run:
45+
If the permissions on `administrators_authorized_keys` are wrong, that file won't work. The
46+
permissions can be fixed by running:
5447

5548
```
5649
icacls.exe "c:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"

0 commit comments

Comments
 (0)