- Create a key pair for the new user account
- Connect with root into SSH
- Run following commands
- $ sudo adduser deployer OR sudo adduser new_user --disabled-password (without password)
- $ sudo su - new_user
- $ mkdir .ssh
- $ chmod 700 .ssh
- $ touch .ssh/authorized_keys
- $ chmod 600 .ssh/authorized_keys