Back to Knowledgebase
VPS Hosting
How to Connect to your VPS via SSH
To connect to your Virtual Private Server (VPS) via SSH, you will need an SSH client such as PuTTY (for Windows) or the Terminal (for macOS and Linux).
1. Open your terminal or PuTTY client.
2. Enter the command: ssh root@your_server_ip
3. Press Enter. If this is your first time connecting, you will be prompted to accept the server's cryptographic key. Type "yes" and hit enter.
4. Enter the root password provided in your HostSafe service email (note: characters will not be displayed as you type).
5. Hit Enter to authenticate. You are now logged in as root!
If you change your SSH port or disable root login for security, remember to specify the custom port using the -p flag, like: ssh root@your_server_ip -p 2222
1. Open your terminal or PuTTY client.
2. Enter the command: ssh root@your_server_ip
3. Press Enter. If this is your first time connecting, you will be prompted to accept the server's cryptographic key. Type "yes" and hit enter.
4. Enter the root password provided in your HostSafe service email (note: characters will not be displayed as you type).
5. Hit Enter to authenticate. You are now logged in as root!
If you change your SSH port or disable root login for security, remember to specify the custom port using the -p flag, like: ssh root@your_server_ip -p 2222
Last updated: May 21, 2026