Methods of payment Abuse

Step-by-step instructions on how to connect to VPS/VDS on Windows, Mac and Linux via SSH, RDP, SFTP

  • Main
  • Knowledge base
  • Step-by-step instructions on how to connect to VPS/VDS on Windows, Mac and Linux via SSH, RDP, SFTP
12.11.2023, 23:19

Connecting to a VPS/VDS on Windows allows you to manage your server as if you were running locally on it. You can install and configure software, create and delete websites, set up databases, configure firewalls, and more.

Connection to VPS/VDS via desktop version of Windows (10, 8.1., 8, 7, XP)

With CMD

As of Windows 10 version 1809 (October 2018), OpenSSH is enabled by default, allowing you to connect via SSH directly through the command line.

First, make sure OpenSSH is installed on your device. Open a command prompt and run the following command:

ssh -V

If OpenSSH is installed, the output is as follows:

To connect to a remote server via SSH, execute:

ssh user@ip -p<port>

user - user name in the server system,

ip - The IP address of the remote server,

-p<port> - port on which the connection is made (default: 22).

The command to connect to the server with the address 15.25.5.25 under the user "admin" on port 2025 will look like this:

ssh admin@15.25.5.25 -p2025

Using an SSH client

If OpenSSH is not available on your system, you can use a third-party SSH client.

One of the most popular solutions for Windows is PuTTY. Download it from the official website, run the installer and follow the instructions to complete the installation.

To connect via PuTTY, select the "SSH" connection type under "Connection type", enter the IP address of the remote server in the "Host Name" field, and enter the port number (usually "22") in the "Port" field. After that, click the "Open" button to establish the connection.

PuTTY will then open a command line-like terminal window where you must enter your login (username on the remote system) and the appropriate password. When connecting for the first time, the program will ask you to confirm the connection - click "Accept" to continue.

Connecting to VPS/VDS via Linux

To connect to a server via SSH in Linux, the "Terminal" application is used, which is pre-installed on the system. It can be found in the shortcut section or in the list of applications. In the Ubuntu distribution, for example, Terminal has a standard minimalistic interface, ready to enter commands.

Run the following command to connect to the server:

ssh user@ip -p<port>

user - the user name on the server system,

ip - The IP address of the remote server,

-p<port> - port on which the connection is made (default: 22).

The command to connect to the server with the address 15.25.5.25 under the user "admin" on port 2025 will look like this:

ssh admin@15.25.5.25 -p2025

Connecting to VPS/VDS via macOS:

  1. Install an RDP client from the App Store, such as Microsoft Remote Desktop.
  2. Open the application and add a new connection by specifying the IP address of the server.
  3. Enter your login and password for access.

Connecting via SFTP

SFTP (Secure File Transfer Protocol) allows you to securely transfer files between a local machine and a server.

For Windows:

  1. Install the WinSCP program.
  2. In the Host Name field, enter the IP address of the server, specify the login, password, and port (default is 22).
  3. Click Login to connect to the server.

Для Mac и Linux:

  1. Install the FileZilla program or use the built-in tools.
  2. In FileZilla, specify the server IP address, login, password and port.
  3. Connect and start working with files.
  • Make sure your server is configured for the appropriate protocol (SSH, RDP, or SFTP).
  • Use complex passwords and additional security measures such as two-factor authentication to protect your data.
  • Always check the IP address and ports before connecting to avoid errors.


Now you know how to connect to your server on Windows, Mac or Linux using the most convenient protocol.