Pagsisimula 52 visualizações

First steps on your server (VPS, Bare Metal or GPU)

Ver no WHMCS

This guide shows what to do as soon as your GeHost server is ready.

1. Find your access details

Sign in at painel.gehost.com.br, open Services and click the server. The service panel shows the IP address, the username and how to connect. It also has the actions (start, stop, restart) and the password change. Every action asks for confirmation first.

2. Connect over SSH

On Windows (PowerShell), macOS or Linux (Terminal), run:

ssh user@SERVER_IP

Replace user and SERVER_IP with the details from the panel. If the panel shows a different port, use ssh -p PORT user@SERVER_IP.

3. First precautions

  1. Update the system (Ubuntu or Debian): sudo apt update && sudo apt upgrade -y
  2. Prefer an SSH key over a password. Create the key on your computer with ssh-keygen -t ed25519 and send it to the server:
    • macOS or Linux: ssh-copy-id user@SERVER_IP
    • Windows (PowerShell): type $env:USERPROFILE\.ssh\id_ed25519.pub | ssh user@SERVER_IP "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
    Test logging in with the key before turning off password login.
  3. Turn on a firewall, allowing SSH first. If ufw is not installed: sudo apt install ufw. Allow the SSH port with sudo ufw allow 22/tcp (default port) or sudo ufw allow PORT/tcp if the panel shows a different port. Check the rule with sudo ufw show added and only then run sudo ufw enable. Open only the ports your project uses.
  4. Back up your data regularly.

Need help?

Open a ticket in the Client Area with the server and what you are trying to do.

Precisa de Ajuda?

Nossa equipe está pronta para resolver suas dúvidas.