- Run this to add user “deploy” wiht home dir /deploy/
useradd -m deploy
- Run this to genereate ssh keys for “deploy” user
su deploy -c"ssh-keygen"
- Run this to add group “www-data” to user “deploy”
usermod -a -G www-data deploy
- Run this to check to what groups user “deploy” belongs to:
groups deploy
