Introduction to SSH
Secure Shell (SSH) is the standard, encrypted protocol for remotely administering your Arh24.com VPS or Dedicated Server. It provides you with a command-line interface (CLI) to execute commands, manage files, and install software with full root privileges.
Prerequisites
- Your server's IP address.
- Your server's root password.
This information is provided in the "New Server Information" email you received after purchasing your plan.
Connecting from macOS or Linux
macOS and most Linux distributions include a built-in SSH client called Terminal.
- Open the Terminal application.
- Type the following command, replacing the placeholder with your server's actual IP address, and press Enter:
ssh root@YOUR_SERVER_IP_ADDRESS
- The first time you connect, you will see a security warning about the authenticity of the host. Type
yes
and press Enter to continue. - When prompted, enter your root password. Note that you will not see characters appear as you type. Press Enter.
If the password is correct, you will be successfully logged in and will see the server's command prompt.
Connecting from Windows
Modern versions of Windows 10 and 11 include an SSH client. Alternatively, a popular free client is PuTTY.
Using Windows Terminal / PowerShell:
The command is the same as for macOS/Linux. Simply open PowerShell or Command Prompt and follow the steps above.
Using PuTTY:
- Download and install PuTTY.
- Open PuTTY. In the "Host Name (or IP address)" field, enter your server's IP address.
- Ensure the "Port" is set to
22
and the "Connection type" is set to "SSH". - Click the "Open" button.
- Accept the security alert about the server's host key.
- A terminal window will open, prompting "login as:". Type
root
and press Enter. - Enter your root password when prompted and press Enter.