• Home
  • Article
  • Logging In to a Server Using SSH on Linux & Mac

Logging In to a Server Using SSH on Linux & Mac

Cloudmatika / March 24, 2026
Logging In to a Server Using SSH on Linux & Mac

Secure Shell (SSH) is a cryptographic network protocol for secure data communication that allows remote command execution between two computer networks.

Every server created on a Virtual Private Server (VPS) and Virtual Data Center (VDC) running a Linux Operating System and equipped with a Public IP will automatically include the SSH feature. SSH functions to access the server from any device that supports SSH usage.

On Linux and Mac operating systems, we can access our server using the pre-installed SSH client on our device. To enable the SSH Client and connect to your server, please follow these instructions:

  1. First, open the Terminal on your Linux or Mac Operating System.
  2. For Linux-based operating systems, if the SSH Client is not yet installed, please run the following command:
    • sudo apt-get install openssh-client
  3. Once the SSH Client is successfully installed, type the following command:
    • ssh username@DomainOrIP

📌 Notes:

Username: The user account used to log in (e.g., if you are using root, it becomes root@DomainOrIP).

DomainOrIP: If the domain is already pointed to the server, you can use @domain.com. If it is not yet connected, please use the IP address. For example, if your IP is 192.168.x.x, it will look like this: root@192.168.x.x.

  • You will be prompted with a question regarding the SHA Key; please type “Yes”.
  • Next, enter your server password. Note: If the password does not appear on the screen while you type, simply continue typing your password correctly.
  • Finally, press “Enter”.
Whatsapp Chat Chat with us here
Scroll to Top