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 How to install & setup Ghost on Ubuntu 16.04, 18.04, 20.04 or 22.04.

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