Install an SSH in CentOS 7 Minimal Server with screenshots

Reading Time: 2 minutes

If you have successfully installed a CentOS 7 to your Virtual Machine, first thing comes into your mind is how to install an SSH in CentOS 7.

An SSH, also known as Secure Socket Shell, is a network protocol that provides administrators with a secure way to access a remote computer. 

Once we have successfully installed our SSH service, you should be able to this service via SSH Client, for example, PuTTY. 

PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection, if you wish to know more, visit putty.org

With that said, let us proceed with our tutorial.

Turn on your Virtual Machine, and access your root user:

image Install an SSH in CentOS 7 Minimal Server with screenshots

Let us start installing SSH service with this command below:

yum install -y openssh openssh-server openssh-clients openssl-libs
image-1 Install an SSH in CentOS 7 Minimal Server with screenshots

Once the installation has been completed, let us test your SSH access by opening your PuTTY application, then Enter your Virtual Machine assign IP address.

image-2 Install an SSH in CentOS 7 Minimal Server with screenshots

Click Open. By default, this will listen to port 22, and from here, you should have another window for PuTTY Security Alert.

putty-security-alert-431x298-mqLph86E Install an SSH in CentOS 7 Minimal Server with screenshots

Click Yes. You should have this login window as show below:

image-3 Install an SSH in CentOS 7 Minimal Server with screenshots

Enter your root use credential and you should be all set. 

image-4 Install an SSH in CentOS 7 Minimal Server with screenshots

Well done.

Was this post helpful?

This Post Has One Comment

  1. Paulo

    Thank you!!

Leave a Reply