Skip to content
Codeable Magazine

Codeable Magazine

How to Remotely Manage a Linux Server with SSH

James, May 5, 2017

Linux is an open source operating system which is much reliable and robust as compare to windows. This powerful OS is basically used by software applications developers which are completely free of cost. The Linux server is an upgraded variant of Linux OS which is very helpful in handling enterprise level applications for the computation of large-scale data. Normal operating systems are not capable enough to handle a large amount of data processing and may crash during work. Due to the technical advancement in remote connectivity, now you can remotely manage a Linux server with SSH. The term SSL stands for secure socket shell which is a network protocol.

Remotely Manage a Linux Server with SSH

With the help of secure socket shell, you will gain terminal access for performing various command line functions. To remotely manage a a Linux server with SSH, some tools are needed to prepare your server for accepting SSH connections. To gain login access with SSH, the IP address of server must be known to the user and it works only when you are in same network location where server is located. It needs some technical skills to make this remote connection work properly.

How to Remotely Manage a Linux Server with SSH:

Follow the steps given below to manage the Linux server remotely:-

  • Prepare the server to accept SSH

This is the first step for gaining remote access of Linux server through SSH in which you need to prepare the server to accept security shell. To make it work, the installation of remote login tool is very necessary.Remotely Manage a Linux Server with SSH

Now open a new terminal by pressing ctrl + Alt + T buttons of your keyboard. After opening the terminal, enter this command line: –

“sudo apt-get update”.

This updating command ensures that you have latest repositories to Remotely Manage a Linux Server with SSH network protocol. Now it’s time to check if there is any upgrade available or not, so open he terminal and enter this command:-

“sudo apt-get upgrade”.

After completion of both updating and upgrading process, open the new command line by pressing ctrl + Alt + T and type this command :-

“sudo apt-get install openssh-server”.

Remotely Manage a Linux Server with SSH

 

  • Configuration of server SSH settings

When the server to accept SSH is prepared, you need to configure its settings. Open a new terminal and enter the following command:-

“sudo nano /etc/ssh/sshd_config”.

Remotely Manage a Linux Server with SSH

This will open the3 SSH configuration file where you need to customize the settings. Here you can manually change the port of SSH server which is port 22 as default. Choose any of the new port under which you will find “MaxAuthTries” where you need to input maximum login attempts which can be allowed up to 4 times. So enter any digit from 1 to 4 as:-

MaxAuthTries 4

Now check as if the SSH server is running or not by entering this command:-

“sudo service ssh status”.

Remotely Manage a Linux Server with SSH

By entering this command, a confirmation message will be received that SSH is enabled. Now it is time to start SSH, so open a new command line and type:-

“sudo service ssh start” to execute the service.

If you want to stop the running SSH then simply enters this command line in terminal:-

“sudo service ssh stop”

  • Remotely accessing Linux server with SSH

Once the secure shell is installed and starts running successfully, the remote connection can be established very easily. To gain remote access in linux server, you have to enter the IP address of the server and a new computer system for logging in through SSH to Remotely Manage a Linux Server with SSH.

If you are using unix based operating system then SSH can be used through following procedure:-

Using SSH for unix based OS

Open the terminal and enter the following command:-

“ssh[remote host]”

Remotely Manage a Linux Server with SSH

Here remote host is IP address for gaining access to unix server. You can specify the exact user name in case of different username on remote system with the help of this command:-

“ssh [remote username]@[remote host]”

To continue the connection, a dialog box will appear to enter username and password.

How To Linux Technology Windows LinuxTips & Tricks

Post navigation

Previous post
Next post

Related Posts

Linux

4 Open Source Alternative Web Browsers for Linux

April 7, 2017September 15, 2025

Web browsers have become quite an important application in the present time. They are not just important; in fact, they have become the necessity of life. People cannot live without internet and in order to access the internet, they need to have a Web browser. Some of the major web…

Read More
How To

How to Master Default Apps and Deep Linking on Android

July 12, 2017

While talking about the android, a number of possibilities may comes in your mind that are you cannot compare with any other operating system. It is an open source platform which is robust as well as highly customizable according to the need of user. By understanding the deeper linking of…

Read More
Resources

11 Best Alternate Web Browsers for Windows

May 11, 2017September 15, 2025

The internet which we use is through web browsers. But many times while using the web browser we don’t get a second thought about the various features of the web browsers. The most common form of web browsers which we use in the windows is Google chrome, internet explorer, opera,…

Read More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

©2026 Codeable Magazine | WordPress Theme by SuperbThemes