Connecting via SSH | INTROSERV
EUR
european

EUR

usa

USD

English En
Ex. VAT Ex. VAT 0%

Connecting via SSH

SSH (Secure Shell) is a protocol for securely connecting to a remote server over a network. It provides access to a text-mode terminal on a remote machine, allowing you to run commands, transfer files via SCP, and create encrypted tunnels.

Prerequisites

Before connecting, make sure the server is running an SSH server and that your user account has the necessary permissions. By default, SSH uses port 22. If the server is configured to use a different port, you will need to specify it when connecting.

Connecting via SSH on Windows

Using the built-in SSH client

Windows 10 and later include a built-in OpenSSH client available in Command Prompt and PowerShell. No additional software is required.

To connect to a server on the default port:

ssh username@hostname_or_ip

To connect to a server on a non-standard port:

ssh -p 2222 username@hostname_or_ip

To connect using a private key:

ssh -i C:\Users\your_user\.ssh\id_rsa username@hostname_or_ip

Enter your password when prompted to complete the connection.

Using PuTTY

PuTTY is a popular SSH client for Windows with a graphical interface. Download it from the official website.

1. Launch PuTTY.

2. In the "Host Name (or IP address)" field, enter the server's hostname or IP address.

3. Set the port number in the "Port" field. The default is 22.

4. Click "Open".

5. In the terminal window that opens, enter your username and password.

To authenticate with a private key, go to Connection > SSH > Auth in the PuTTY Configuration window and specify the path to your key file. For more details, refer to PuTTY's documentation.

For more information about changing the SSH port, see the corresponding [article].

Connecting via SSH on macOS

Using the built-in Terminal

macOS includes a built-in SSH client available in Terminal (Applications > Utilities > Terminal). No additional software is required.

To connect to a server on the default port:

ssh username@hostname_or_ip

To connect to a server on a non-standard port:

ssh -p 2222 username@hostname_or_ip

To connect using a private key:

ssh -i ~/.ssh/id_rsa username@hostname_or_ip

Enter your password when prompted to complete the connection.

Using Termius

Termius is a graphical SSH client for macOS with a modern interface. It supports saved hosts, key-based authentication, and multi-session management. Download it from the official website or the Mac App Store.

Connecting via SSH on Linux

The SSH client is included in all major Linux distributions and is available directly from the terminal.

To connect to a server on the default port:

ssh username@hostname_or_ip

To connect to a server on a non-standard port:

ssh -p 2222 username@hostname_or_ip

To connect using a private key:

ssh -i ~/.ssh/id_rsa username@hostname_or_ip

Enter your password when prompted to complete the connection.

Conclusion

Once connected, you can run commands on the remote server as if you were working on it directly. To disconnect, type exit or press Ctrl+D.

VAT

  • Other

    Ex. VAT

    0%
  • austria

    Austria

    20%
  • Belgium

    Belgium

    21%
  • Bulgaria

    Bulgaria

    20%
  • Croatia

    Croatia

    25%
  • Cyprus

    Cyprus

    19%
  • Czech Republic

    Czech Republic

    21%
  • Denmark

    Denmark

    25%
  • Estonia

    Estonia

    22%
  • France

    France

    20%
  • Finland

    Finland

    24%
  • Germany

    Germany

    19%
  • Greece

    Greece

    24%
  • Hungary

    Hungary

    27%
  • Ireland

    Ireland

    23%
  • Italy

    Italy

    22%
  • Latvia

    Latvia

    21%
  • Lithuania

    Lithuania

    21%
  • Luxembourg

    Luxembourg

    17%
  • Malta

    Malta

    18%
  • Netherlands

    Netherlands

    21%
  • Poland

    Poland

    23%
  • Portugal

    Portugal

    23%
  • Romania

    Romania

    19%
  • Slovakia

    Slovakia

    20%
  • Slovenia

    Slovenia

    22%
  • Spain

    Spain

    21%
  • Sweden

    Sweden

    25%
  • USA

    USA

    0%
european
states
  • germany
  • Español
  • Italiano
  • Poland
  • Русский
  • Slovenski
  • Türkçe
  • ukraine
  • kingdom
  • French
  • Hrvatska
  • Other
  • Austria
  • Belgium
  • Bulgaria
  • Croatia
  • Cyprus
  • Czech Republic
  • Denmark
  • Estonia
  • Finland
  • France
  • Germany
  • Greece
  • Hungary
  • Ireland
  • Italy
  • Latvia
  • Lithuania
  • Luxembourg
  • Malta
  • Netherlands
  • Poland
  • Portugal
  • Romania
  • Slovakia
  • Slovenia
  • Spain
  • Sweden
  • USA