Browse Source

Add my SSH public key (overriding feature coming soon)

pull/264/head
Xavier Petit 5 years ago
parent
commit
c37f36b8e4
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 1
      scripts/install_client.sh
  2. 1
      scripts/system/root/.ssh/authorized_keys

1
scripts/install_client.sh

@ -70,6 +70,7 @@ echo overlayroot=\"device:dev=/dev/disk/by-partlabel/01-tmp-system,recurse=0\" >
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
find . -type f -exec /bin/sh -c "file {} | grep -q 'shell script' && chmod +x {}" \;
find . -type f -exec /bin/sh -c "file {} | grep -q 'public key' && chmod 400 {}" \;
cp --preserve=mode -RT . /
cd $SCRIPT_DIR

1
scripts/system/root/.ssh/authorized_keys

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAj18I9dL59HmBhZulE8QP/JoBtyUVm0VKnOM9L61QtU
Loading…
Cancel
Save