From 6381d6b64f110e951d105e20bf20ce61d1a6343d Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Fri, 28 May 2021 16:53:24 +0200 Subject: [PATCH] Admin rights --- docs/ubuntu-installation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/ubuntu-installation.md b/docs/ubuntu-installation.md index fd5c3091e..092b541c4 100644 --- a/docs/ubuntu-installation.md +++ b/docs/ubuntu-installation.md @@ -25,6 +25,16 @@ Skip the welcoming window. Don't install updates if Ubuntu asks to. The scripts will. +## Admin access + +This is optional but you can add your public SSH key to access the administrator account later: + +```shell +sudo mkdir /root/.ssh +echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICeJ9WuncQJG5X51m3M0goX9fohnz9LqlL/AT3OMYBX1' | sudo tee /root/.ssh/authorized_keys +sudo chmod 400 !$ +``` + ## OS configuration Run a terminal and type these commands :