Differences
This shows you the differences between two versions of the page.
technical:inital_debian_host [2025/05/29 18:24] – created super_stunder | technical:inital_debian_host [2025/05/30 03:28] (current) – super_stunder | ||
---|---|---|---|
Line 3: | Line 3: | ||
** Step: 1 - SSH to VPS ** | ** Step: 1 - SSH to VPS ** | ||
+ | Basic stuff not much to explain here. | ||
+ | < | ||
+ | ssh root@your_server_ip | ||
+ | </ | ||
+ | |||
+ | ** Step: 2 - Build your standard user account ** | ||
+ | My user name is nugget... You can just use your first name. | ||
+ | < | ||
+ | adduser nugget | ||
+ | </ | ||
+ | |||
+ | Then add yourself to the sudo users group | ||
+ | < | ||
+ | usermod -aG sudo nugget | ||
+ | </ | ||
+ | |||
+ | ** Step 3: Load the UFW (Ubuntu Firewall) ** | ||
+ | Install the UFW package and permit SSH for your remote access. | ||
+ | |||
+ | If you did a local install of Debian (e.g. not in the cloud) you may need to specify SSH during the install or install it manually before doing these steps. | ||
+ | |||
+ | < | ||
+ | apt update | ||
+ | apt install ufw | ||
+ | |||
+ | ufw allow OpenSSH | ||
+ | |||
+ | ufw enable | ||
+ | </ | ||
+ | |||
+ | |||
+ | ** Step 4: Copy your SSH Keys to your home directory ** | ||
+ | If this is at Digital Ocean you can typically just copy the public keys from roots home to your new user. then make them your own. | ||
+ | |||
+ | < | ||
+ | cp -r ~/.ssh / | ||
+ | chown -R nugget: | ||
+ | </ | ||
+ | |||
+ | And thats it folks... That should be your basic up and runnings. |