0) If after creating a VPS server you received a root user password, it’s recommended to change it. To do it, login to the server as root and type
$ passwd command. Save a new root password somewhere so you will not forget it.
1) Create on the remote server a
# on the server, as a root user $ adduser deploy $ adduser deploy sudo
2) Make sure that you can login to the server as a
deploy user without password prompt: