Skip to main content

Introducing the OpenSSH Server

By July 10, 2014September 12th, 2022No Comments

centos7To look at the detail that we need to cover for the OpenSSH Server for the RH124 objectives we will have a few tutorials and in the first tutorial we look at ensuring the service ins installed. looking at how the service is managed with systemctl. We check the ports are open, port 22 and then connect with the ssh client.

First we check that the required packages are installed

# yum list openssh*

Then we check the service status

# systemctl status sshd
We can use lsof or netstat to list open ports. We are checking for port 22
 # netstat -ant | grep :22

The video closes showing a simple connection the the service and looking at the session variables SSH_CLIENT SSH_CONNECTION and SSH_TTY