First steps after getting a cloud VPN
07/03/23
1. Login as root
ssh root@machineip
2. Create a new user
3. Grant new user privelages
4. Set up firewall
5. Allow openSSH through the firewall
6. enable firewall and make sure openSSH is allowed
7. User Permissions
Give the new user access to the server ssh keys to ensure you are able to log in as new user. To do this copy the ssh folder from the root over to the new users home directory
Now, before logging out of root's ssh session, open a new tab and ssh into your new user's account
And once you log in, try to do something only the root can do, like this:
If that works, youre all set up.
-Amon