Create the user and let it use sudo (Ubuntu / Debian)
sudo adduser deploy
sudo usermod -aG sudo deploy
Put your own name in place of deploy. It asks for a password for the new user. On AlmaLinux / Rocky the group is wheel instead of sudo.
Try it
su - deploy
sudo whoami
"root" is the answer when sudo works.
Log in as that user from your computer
ssh deploy@YOUR.SERVER.IP
Where a command has YOUR.SERVER.IP, put the address of your server — it is on the server page in the console. Ask Joy Ops AI the same question in the console and it fills your own address in.
Stuck? Ask Joy Ops AI in your console, or open a ticket — a person answers.
Was this article helpful?
Corrections and suggestions go straight to the team that wrote it — suggest an edit or see more in blog.
Corrections and suggestions go straight to the team that wrote it — suggest an edit or see more in blog.