Skip to content

Commit 550209a

Browse files
authored
chore: delete deploy-update-ssh-account-keys (dfinity#3549)
`deploy-update-ssh-account-keys` updates the HostOS ssh backup and readonly account keys if `/opt/ic/share/authorized_keys/` is populated with new account keys. This code is not used. This PR removes it.
1 parent 01e83df commit 550209a

File tree

4 files changed

+0
-59
lines changed

4 files changed

+0
-59
lines changed

ic-os/components/hostos.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ component_files = {
8989
Label("ssh/generate-host-ssh-keys/generate-host-ssh-keys.service"): "/etc/systemd/system/generate-host-ssh-keys.service",
9090
Label("ssh/setup-ssh-user-keys/setup-ssh-user-keys.sh"): "/opt/ic/bin/setup-ssh-user-keys.sh",
9191
Label("ssh/setup-ssh-user-keys/setup-ssh-user-keys.service"): "/etc/systemd/system/setup-ssh-user-keys.service",
92-
Label("ssh/deploy-updated-ssh-account-keys/deploy-updated-ssh-account-keys.sh"): "/opt/ic/bin/deploy-updated-ssh-account-keys.sh",
93-
Label("ssh/deploy-updated-ssh-account-keys/deploy-updated-ssh-account-keys.service"): "/etc/systemd/system/deploy-updated-ssh-account-keys.service",
9492

9593
# upgrade
9694
Label("upgrade/manageboot/manageboot.sh"): "/opt/ic/bin/manageboot.sh",

ic-os/components/ssh/deploy-updated-ssh-account-keys/deploy-updated-ssh-account-keys.service

Lines changed: 0 additions & 12 deletions
This file was deleted.

ic-os/components/ssh/deploy-updated-ssh-account-keys/deploy-updated-ssh-account-keys.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

ic-os/guestos/docs/Boot.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,6 @@ USB stick" attached to the VM that contains a tar file with initial configuratio
170170
for parts of the system. Required files in the +config+ partition as well as
171171
payload store are created.
172172

173-
== Deploy updated ssh account keys
174-
175-
Service: +deploy-updated-ssh-account-keys.service+, +deploy-updated-ssh-account-keys.sh+.
176-
Depends on +bootstrap-ic-node.service+, runs before +setup-ssh-account-keys.service+.
177-
178-
Changes the keys held in the +config+ partition for the +backup+ and +readonly+ user. This
179-
is a work-around due to not having a key management solution that updated keys are
180-
deployed via system upgrades.
181-
182173
== Set up ssh user keys
183174

184175
Service: +setup-ssh-user-keys.services+, script +/opt/ic/bin/setup-ssh-user-keys.sh+.

0 commit comments

Comments
 (0)