laminar ssh: no need for sudo, we're already root

This commit is contained in:
Starbeamrainbowlabs 2021-11-26 22:25:55 +00:00
parent 3db65fc833
commit e3103db431
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -6,7 +6,7 @@ mkdir -p /root/.ssh;
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICzYSWsGbWHh+cDheHJSKlCrxYDLwS6SKwVMV9SAaGsO laminar-ci@elessar" >>/root/.ssh/authorized_keys; echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICzYSWsGbWHh+cDheHJSKlCrxYDLwS6SKwVMV9SAaGsO laminar-ci@elessar" >>/root/.ssh/authorized_keys;
# Set permissions # Set permissions
sudo chown -R root:root /root/.ssh; chown -R root:root /root/.ssh;
sudo chmod 0600 /root/.ssh/authorized_keys; chmod 0600 /root/.ssh/authorized_keys;
task_end "$?"; task_end "$?";