How to connect to the server via SSH (Linux, Windows and Mac)?

by | Dedicated servers blog

To connect and manage your server, you can use WHM/cPanel, however, it is often not possible to do everything from the graphical interface, so you should look for SSH connection support.

Adriahost has VPS and Dedicated servers, Linux and Windows servers in its offer. On all these services, customers get complete Root access and all the options that are needed to improve the online business.

What is SSH (Secure Shell)? 

Secure Shell is an encrypted network protocol for managing network systems in a secure way using an insecure network (the Internet). SSH allows users to connect to a computer-server via a secure connection. In this way, all data is encrypted so that it becomes illegible to people who should not have access to this data.

The specific purpose of this kind of connection is to provide you a quick and secure way to perform a specific task on your server. For example, you can restart a particular service or a complete server if no other way delivers results.

SSH connection to the server

A computer with a Windows operating system

To connect to your server using the Windows operating system, first download the PuTTY executable file from here:

After downloading the file, you do not need to install it, it is enough to start it (click twice on file). A window will open where you need to enter the server’s IP address, port and click on the Open button to connect:

PuTTY povezivanje server ssh terminal

A command terminal will open where you need to enter the username and password information. If you want to log in as root (ultimate privileges), type root for Login as and press Enter. The next thing you need to enter is the password, so note that if you copy the password, you can do the paste by just clicking with the right-click in the inside of the terminal.

Please note that password entry is not visible and no password or symbols will appear for it. After entering the password, press Enter.

PuTTY povezivanje server ssh terminal

For computers running Linux and Apple Mac operating systems

You can use Open SSH on Linux and Apple Mac computers. Just open the Terminal and type the following:

ssh username@hostname.domain.ext


ssh username@ipaddress

Replace the username with the user name you are accessing with, while the hostname.domain.ext or ipaddress replace with the hostname or IP address. If you access using root user, just enter or root@

If you are using the Ubuntu operating system, you can install Open SSH using the following command:

sudo apt install openssh-server

For Apple Mac users, SSH comes by default, but SSH Deamon is turned off. You need to activate it using the following command:

sudo systemsetup -setremotelogin on

To stop the SSH Daemon, you need to type the following:

sudo systemsetup -setremotelogin off

To check SSH status, use the following:

sudo systemsetup -getremotelogin

Carefully with the SSH data and actions you want to apply

It is important to keep safe all your data for accessing your server. Do not allow your data to come into the possession of people who do not have a need to access and who can by accident or intentionally endanger your work. When you access the server via SSH connection you will see that everything is going fast and effective. With one command you can restart the server or a specific process so be very careful and plan well each action before you press Enter.

You can see the complete offer of our servers on the following pages: VPS servers, Dedicated servers, VPS and Dedicated Windows servers.

You can send us any questions using our contact form or directly from your client account.


Slični tekstovi:

How to export or import database in MySQL or MariaDB

How to export or import database in MySQL or MariaDB

Exporting and importing a database from MySQL or MariaDB is an unavoidable action for migrating or downloading the site. If you are working on a site backup, in addition to copy all of the site's files, one copy of the...

How to install MySQL on CentOS 7 server

How to install MySQL on CentOS 7 server

MySQL is a database management system. Installing MySQL on the CentOS 7 server does not work as easily as on CentOS 6, but can be done after adding a new software repository. CentOS in version 7 prefers the MariaDB...


Leave a Reply