laminar ssh: no need for sudo, we're already root
This commit is contained in:
parent
3db65fc833
commit
e3103db431
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ mkdir -p /root/.ssh;
|
|||
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICzYSWsGbWHh+cDheHJSKlCrxYDLwS6SKwVMV9SAaGsO laminar-ci@elessar" >>/root/.ssh/authorized_keys;
|
||||
|
||||
# Set permissions
|
||||
sudo chown -R root:root /root/.ssh;
|
||||
sudo chmod 0600 /root/.ssh/authorized_keys;
|
||||
chown -R root:root /root/.ssh;
|
||||
chmod 0600 /root/.ssh/authorized_keys;
|
||||
|
||||
task_end "$?";
|
||||
|
|
Loading…
Reference in a new issue