install and configure ssh on centos 8
Install and Configure SSH Server

install and configure ssh on centos 8

This Tutorials How to install and configure ssh on centos 8 step by step.SSH, the Secure Shell, is a popular, powerful, software-based approach to network security.

Whenever data is sent by a computer over the network. SSH automatically encrypts it. Then when the data reaches its destination (recipient) automatically decrypts it. The result is transparent encryption: users can work normally, unaware that their communications are safely encrypted on the network. The Secure Shell (SSH) service runs on TCP port 22.

SSH package already installed by default in Linux/Centos 8 To check the package is installed or is not.

[root@simi ~] # yum list –installed | grep ssh

Check SSH Packages Install or not in CentOS 8

Install if ssh package is not installed.

Install SSH Package in Centos8

Start, Enable and check SSH Server Services.

Prohibit (Disable) root user to login in server :

Open the ssh Configuration file /etc/ssh/sshd_config go to Near Line number 46 and change PermitRootLogin = yes to PermitRootLogin =no

Main Configuration File of SSH Server

[root@simi ~]# vim /etc/ssh/sshd_config

PermitRootLogin = yes chnage to this PermitRootLogin = no

SSH Server configuration File

allow SSH service. IF Firewall Service running:

IF firewall Service Running on SSH Server , Allow SSH

Access SSH Server From Windows Client Through Putty:

Putty Is a free open source Terminal emulator Software that runs on Windows as well as Linux, Unix, Ubuntu etc.

First, download and install the Putty software from the Internet. Download putty from the bellow link. https://www.putty.org/

open the Putty software and input the hostname or IP address on the hostname field and Click On Open Button to Connect SSH Server.

Connect Putty From Windows Computer to SSH Server

Enter Username and Password for Login SSH Server .

CentOS 8 Terminal

Connect SSH Server from Linux/Centos/ System :

First, install ssh package and then # ssh username @ hostname or IP address

[root@simi ~ ]# ssh simi@192.168.43.74

Send And Recieve file And Directory via Winscp

In these tutorials, we Learn About how to send and receive files and directories through WinScp.

First, download and install the WinScp software from the Internet. Download WinSCP Software from this link. https://winscp.net/eng/index.php

open the Winscp software and input the hostname or IP address on the hostname field, username and username password Click On Login Button to Connect SSH Server.

Access SSH Server Via WinScp

Click On Yes Button

add ssh host key to a cashe

After Successful Authentication you can Transfer and Receive file.

windows Terminal through WinScp

In This Tutorial, We Learn About install and configure ssh on centos 8 In Centos 8