
You have just received the VPS address and password and do not know what to type first. The answer is a fixed order, about ten minutes long: see where you are, update, change the password, create a user of your own, add an SSH key, switch the firewall on and set the clock. The commands below are for Ubuntu and Debian, the most used; where AlmaLinux or Rocky Linux differs, it says so. They are your commands on your own server: support does not install or repair them (see how far our support goes).
The order, step by step
|
|
|
|
|
|
|
|
|
| If the system is… | Update | Firewall | Administrator |
| Ubuntu or Debian | apt update, then apt upgrade | ufw | sudo group |
| AlmaLinux or Rocky Linux | dnf update | firewalld | wheel group |
| Do not close the first session until the second one works. With every change that touches SSH, users or the firewall, open a second window and confirm you can get in before closing the first. That is how you avoid being shut out of your own server. If it happens, see I have lost SSH access to my server. |
| Ask an AI for help, but check. It can explain a command, but copy only what you understand, and never run a command that deletes or changes permissions without knowing what it does. See using AI to write Linux commands without breaking your server. |
|
Did not get the VPS access details, or the address does not answer? Tell us the plan name and the domain. Open a support ticket |
|
SEE ALSO Keeping your VPS or dedicated server secure: the six that matter |
RECOMMENDED PRODUCT VPS server with root access Resources of your own, the OS you choose, reinstall whenever you like. from $8.39/mo (3-year plan, with coupon) See plans |
- 0 Users Found This Useful











