How to Connect to Your VPS via SSH
Step-by-step instructions on accessing your Linux Virtual Private Server (VPS) securely using SSH terminal client.
Before connecting, ensure you have:
- Your server's IP address.
- The root username (usually
root). - The root password (or your private SSH key if key-based auth was set up).
Connecting from Windows (using Command Prompt / PowerShell)
Windows 10/11 has a built-in SSH client:
- Open Command Prompt or PowerShell.
- Type the following command and press Enter:
ssh root@your_server_ip - You will be prompted with a security warning. Type
yesand hit Enter to add the server to your known hosts. - Paste or type your root password when prompted (characters will not show as you type for security).
Connecting from macOS / Linux Terminal
- Open the Terminal app.
- Run:
ssh root@your_server_ip - Enter your password to authenticate.