Connecting to your Linux VPS using SSH : Complete guide
When you order a Linux VPS, the first step in administering it is to connect to it in SSH. This secure protocol enables you to access your server remotely, execute commands and manage your services. In this guide, we explain step-by-step how to connect to your VPS based on your operating system.
1. Necessary information
Before you get started, you'll need the following:
- The IP address of your VPS
- A user (usually
root
) - The associated password (or SSH key if configured)
2. Connecting from Windows
Under Windows, the easiest way is to use the PuTTY tool or directly PowerShell.
Method 1: with PowerShell
ssh root@IP_DU_SERVER
Example:
ssh [email protected]
Method 2: with PuTTY
- Download PuTTY from the official website: https://www.putty.org
- Enter the IP address of your VPS in the Host Name field.
- Click on Open then enter your credentials.
3. Connecting from macOS or Linux
MacOS and Linux systems natively feature an SSH client accessible from the terminal.
Command:
ssh root@IP_DU_SERVER
Example:
ssh [email protected]
If this is the first connection, the system will ask you to confirm the host key fingerprint. Answer yes
then enter the root password.
4. Secure SSH access
Once connected, it's strongly recommended to reinforce your VPS security:
- Change root password
- Create a new user and disable root access
- Set up authentication by SSH key
- Configure a firewall (UFW or iptables)
Conclusion
The SSH connection is the essential step in administering your Linux VPS. Thanks to this protocol, you have secure remote access to manage your server. If you're a OuiHeberg customer experiencing difficulties, our technical team is available to support you.