English
+370 5 205 5502 sales@monovm.com

How to SSH to a Linux server? Well in this tutorial we will show all the possible ways to connect to a server using SSH clients.

05

Aug, 20

How to Connect To A SSH Terminal

What is SSH?

Secure stock shell or sometimes referred to as a secure shell is a protocol that uses a text-based interface that makes you securely connect to a remote server.

Once you have developed a secure SSH connection you are endowed with the permission to manipulate the server by merely typing the commands on your local computer but within the client.

When someone wants to manage the computer remotely in a secret way, the person uses SSH commands to get the work done. Most of the time this protocol is loved by system and network administrators for the control and agility it provides to the users.

SSH Work Methodology

The SSH connections require basic components to complete the process and allow you to remotely control the server. These components are:

  • A client
  • Corresponding server-side component

The client is an application which you need to install on your computer to use it and connect to the server or other computers in the local network. The remote host information is the key factor the client uses to connect. When these credentials are deemed verified the client becomes able to encrypt the connection.

While the other component on the server-side is the SSH daemon that is on a continuous watch to listen to the specific TCP/IP port for any query or possible client connection requests. Once the client has initiated the connection SSH daemon will reply and respond as per the software protocol. If the credential which the client has provided is correct then SSH will create a favorable environment for them to interact with each other. 

Version 2 is the default SSH protocol version for SSH client communication and SSH server.

Enabling an SSH Connection

As per the requirement of the connection, there are two parties involved in SSH connection; one is the client and the other are server components. You have to make sure that the remote machine and local server both have SSH connections installed and enabled on them.

The most famous open-source tool for SSH is OpenSSH. This tool is comparatively easy and it only requires terminal access to the server to which you are trying to connect. If you are using Ubuntu be informed that the SSH server is not installed by default on it.

OpenSSH

SSH (Secure Shell) is used to send and receive data and other information without the fear of eavesdropping and getting the important information stolen over the interment. You can do the following by using SSH:

  • Secure system administration
  • File transfer
  • Communication across the Internet
  • Send and receive valuable information over other untrusted networks
  • Encrypt identities
  • Passwords
  • Transmit data

OpenSSH is the implementation of SSH protocol on the server and client and the whole protocol is entirely open source.

Installation of Open SSH client

Most of the time Linux based distributions already have an SSH client installed on it. For windows, based machine install PUTTY or other software to gain access to the server.

However, to enable OpenSSH on your Windows device you can follow the link.  

The process starts with the following:

  • Load SSH terminal
  • Press CTRLALT + T 
  • Type in ssh
  • Press Enterin the terminal

If you have already installed the client on your system the output will be as follow:

output of SSH client after installation

Install the OpenSSH client manually:

Type the following command:

sudo apt-get install openssh-client

Type superuser password:

Press Enter to complete the installation.

 

Install an OpenSSH Server

The installation of the OpenSSH server will require doing the following steps.

  • Open terminal on server machine
  • Press CTRL + ALT + T
  • Type ssh localhost
  • Press Enter

If the system has not endowed with SSH server installation you will see the following:

output without SSH installation

If you are viewing this message you need to install the server by yourself.

Run this command to install the SSH server:

sudo apt-get install openssh-server ii.

Now type superuser password.

This will install the support file and you will be able to check the status by following command:

sudo service ssh status

check status of installation

What is KiTTY?

KiTTY

The fork form version 0.71 of PuTTY is known as KiTTY. This is undoubtedly the best telnet / SSH client in the world. KiTTY was originally designed for the Microsoft(c) Windows(c) platform. It has all the features and add-ons from the original software.

Note that SSH and Telnet is not the same.

Pre-built binaries of kitty can be used and are available for macOS and Linux.

The possibilities are endless now you can use any of your favorite package manager to install the KiTTY package. You can have the kitty availability for the following:

  • macOS with Homebrew (Cask)
  • macOS and Linux with Nix
  • Ubuntu
  • Debian
  • openSUSE
  • Arch Linux
  • Gentoo
  • Fedora
  • Void Linux
  • Solus

Possibilities are endless and it is specifically designed for power keyboard users. The people who want to control all the work by using the keyboard love the keys and interaction Kitty offers them. The people who want to use a mouse for the interaction can also use their mouse to do their tasks.

Codes in KiTTY are fabricated to be very simple, hackable, and modular. The codes are specifically written in C (for performance-sensitive parts) and Python (for easy hackability of the UI). The dependence is not inclined on large and complex UI toolkit.

The most famous and top-rated feature of KiTTY is that it can be easily extensible. You can add new features without making any significant efforts.

Tabs Top Level Organization

You can run multiple programs and organize them by manipulating various windows. The top-level organization of windows is Tab. There are several windows in each tab. You get the liberty to arrange these windows in various tabs.

The following are the keyboard controls for managing windows.

keyboard controls for kitty part 1

keyboard control for Kittiy part two

 keyboard controls for Kitty part 3

 

Configuring kitty for SSH

The highly customizable ability allows you to use keyboard shortcuts to perform almost any operation by using shortcuts. You can make your very own shortcuts as well.

If you want to control KiTTY by using SSH you must do the following.

Type kitty.conf

And then type the following:

allow_remote_control

You can start the configuration by typing the following command:

kitty -o allow_remote_control=yes -o enabled_layouts=tall

open a new kitty window and type the following:

kitty @ launch --title Output --keep-focus cat

You will see a new window that will be running the cat program.

Now you can send the text.

To check the accessibility type the following command:

kitty @ send-text --match cmdline:cat Hello, World

Solar-PuTTy

Solar-PuTTy and SSH

When you want to connect your router switches and server to use them over SSH you can take great benefits from this protocol. The UNIX shell environment can be perfectly used by a window user through Solar-PuTTy. The powerful software is an open-source and it is free for anyone to download and use it to communicate using SSH.

Installation

Solar-PuTTy is a software which is available from SolarWind’s site. You don’t need to make any special arrangements and go through the tiring installation process to use this software for your SSH communication. Simply download the software from the website and run it on your system. After simply running the file you are good to go and use your Solar-PuTTy with ease and comfort. The staggering feature is that the file size is only 1MB. 

solar putty

Creating new Sessions

Once you have installed the software now it is time to open and overview the pages which are available for you to create your session on the system. Just go on the setting menu and complete the process. In creating a new session you can also do it by manually entering your log-in to start the new session. 

solar putty new sessions

The most mesmerizing feature of this software is that you don't have to configure all the devices here. You can simply import and use all the SSH configurations from the previous SSH software if you have been using any.

solar putty configurations

Solar-PuTTy’s Best Features

  • Save remote sessions
  • Supports tabbing
  • Supports Login Scripts
  • Storage of Login Credentials
  • Dedicated Search bar
  • Integration with Windows

 

Bitvise SSH Client 

What is Bitvise SSH Client?

This software imparts the power to the users to connect to SFTP servers by utilizing a regular FTP client. You can achieve the required client requirements by simply connecting to the SFTP server by utilizing your SSH.

The people using solar-PuTTy when install the Bitvise on their system they can explain this software in a far better way.

 bitwise ssh server

There is only one catch for Bitvise that is not meant for beginners in the field of SSH. The ease and comfort of using Bitvise exceeds in various ways the PuTTy software. All the environmental features are fused to create a unique and powerful working environment for the users at all levels.

Clear-cut interface

It has a simple GUI that comes in a well-organized layout various categories embedded in the layout.

Installing Bitvise SSH Server

First of all download the installer from the Bitvise website. After installation run the file and by doing simple changes ready to work SSH server is installed on your machine.

Unattended installation

You can install the Bitvise SSH server in unattended mode.

For supported command-line parameters type the following:

BvSshServer-Inst.exe -?

For a fresh machine to start it immediately type:

BvSshServer-Inst.exe -defaultInstance -activationCode=0123...6789

Unattended configuration

For an automated configuration type the following commands:

BssCfg, the SSH Server's command line configuration utility.

PowerShell scripting using the SSH Server's scriptable configuration COM object.

For configuration:

BssCfg popups show -never -default

Run BssCfg without parameters for help.

Bitvise SSH Client

Install the SSH client from this link and start using your Bitvise right away.

 

Conclusion

All the software we mentioned above have their benefits and demerits in terms of the use of the functionality. If you want to use SSH on Linux use any of these software to interact and communicate with ease comfort and security.

Let us know in the comments below which of these SSH clients are your favorite.

susith nonis

I'm fascinated by the IT world and how the 1's and 0's work. While I veture into the world of Technology I try to share what I know in the simplest way to you. Hope you like it.