asdf
adduser newusername
usermod -aG sudo newusername
ufw app list
ufw allow OpenSSH
ufw enable
ufw status
rsync --archive --chown=newusername:newusername ~/.ssh /home/newusername
Now, before logging out of root’s ssh session, open a new tab and ssh into your new user’s account
And once you log in, try to do something only the root can do, like this:
sudo ls -la /root
If that works, youre all set up.