How to Access Your VPS or Dedicated Server?
In this guide
AlmaLinux server setup series. This guide is step 1 of the series.
To connect to your Virtual Private Server (VPS) or dedicated server, you’ll use SSH (Secure Shell). You can do this using a terminal, PuTTY, or Termius. Follow these simple steps to get started.
Access Your VPS or Dedicated Server Using a Terminal (SSH)
- Open your terminal application on your local computer.
- Type the following command, replacing your_server_ip with the IP address of your server:
ssh root@your_server_ip
For example, if your server’s IP address is 192.168.1.100, you would type:
ssh root@192.168.1.100
- Press Enter. You’ll be asked to enter the password for the root user (or your specific username). Type the password and press Enter. Note: The password won’t be visible as you type.
- If this is your first time connecting, you might see a message asking if you trust the server. Check that the fingerprint matches your server’s fingerprint, and type yes to continue.
- Once you’ve entered the correct password, you’ll be logged in to your server and can start managing it from the command line.
Access Your VPS or Dedicated Server Using PuTTY
- Open PuTTY on your local computer.
- In the “Host Name (or IP address)” field, enter the IP address of your server. For example:
192.168.1.100
- Ensure that the “Connection Type” is set to SSH and the port is set to 22.
- Click the “Open” button to start the connection.
- A terminal window will appear. You may see a security alert about the host key. Verify that the fingerprint matches your server’s fingerprint and click “Yes” to proceed.
- You’ll be prompted to enter your username. Type root (or your specific username) and press Enter.
- Enter the password when prompted. The password will not be shown as you type. Press Enter once you’ve entered it correctly.
- If the credentials are correct, you’ll be logged in to your server via PuTTY, allowing you to manage it through the terminal window.
Access Your VPS or Dedicated Server Using Termius
- Open Termius on your local computer or mobile device.
- Click the “+” button or “New Host” to create a new connection.
- Enter the following details:
- Label: A name for your connection (e.g., “My VPS” or “My Dedicated Server”).
- Hostname: Enter the IP address of your server. For example:
192.168.1.100
- Port: Set to 22 (default SSH port).
- Username: Enter root (or your specific username).
- Password: Enter the password for your username.
- Click “Save” or “Connect” to initiate the connection.
- Termius will establish the SSH connection and you’ll be logged in to your server, where you can manage it from the terminal interface.
Important Tips
To keep your VPS or dedicated server secure:
- Use strong passwords.
- Consider setting up SSH key authentication instead of using passwords.
- Regularly update your system and software.
If you encounter issues logging in or have forgotten your password, contact your server provider for assistance.
Keep reading
How to Safely Change SSH Port in AlmaLinux (e.g., to 2022)
Changing the default SSH port (22) helps protect your server from automated attacks. In this guide, we’ll show you how to change the SSH port safely and open the new...
Counting .tar.gz Files in a Directory on AlmaLinux
Three simple command-line ways to count .tar.gz files in a directory on AlmaLinux: ls with wc, find with wc, and grep.
How to Install Imunify360 with a 15-Day Trial on AlmaLinux?
Imunify360 is a comprehensive security solution designed to protect Linux servers from various threats. This guide will take you through obtaining a trial license,...