Unable to update ghost

I ran the following commands to update the ghost to the latest version

root@ghost-ubuntu-s-2vcpu-2gb-nyc1-01:~# cd /var/www/ghost
root@ghost-ubuntu-s-2vcpu-2gb-nyc1-01:/var/www/ghost# ghost update
You can’t run commands as the ‘root’ user.
Switch to your regular user, or create a new user with regular account privileges and use this user to run ‘ghost update’.
For more information, see https://ghost.org/docs/install/ubuntu/#create-a-new-user-.

i have also created the new user but I’m unable to ssh via that user please help