How to access your VPS via SSH
Once your VPS is active, you can connect to it using SSH (Secure Shell). This guide explains how to access your server from different operating systems.
What You Need
- Your VPS IP address
- Username (usually root for Linux)
- Password or private SSH key
Access from Linux or macOS
Open your terminal and run the following command:
ssh root@your_server_ip
Replace your_server_ip with the actual IP address of your VPS.
If it's your first time connecting, you'll see a security warning. Type yes and press Enter to continue.
Access from Windows
Using PuTTY
- Download PuTTY from https://www.putty.org.
- Open PuTTY and enter your VPS IP address in the "Host Name (or IP address)" field.
- Click "Open" to start the session.
- When prompted, enter your username (root) and password.
Using Windows Terminal or PowerShell (Windows 10+)
If you are on Windows 10 or higher, you can also use the built-in SSH client:
ssh root@your_server_ip
Troubleshooting
- Make sure the server is online and the IP is correct.
- Check that port 22 (default SSH port) is open in your firewall.
- If you’re using an SSH key, ensure it is properly added to your SSH agent.