How To Install gsi-openssh on AlmaLinux 8

In this tutorial we learn how to install gsi-openssh in AlmaLinux 8. gsi-openssh is An implementation of the SSH protocol with GSI authentication

Introduction

In this tutorial we learn how to install gsi-openssh on AlmaLinux 8.

What is gsi-openssh

SSH (Secure SHell) is a program for logging into and executing commands on a remote machine. SSH is intended to replace rlogin and rsh, and to provide secure encrypted communications between two untrusted hosts over an insecure network. X11 connections and arbitrary TCP/IP ports can also be forwarded over the secure channel. OpenSSH is OpenBSD’s version of the last free version of SSH, bringing it up to date in terms of security and features. This version of OpenSSH has been modified to support GSI authentication. This package includes the core files necessary for both the gsissh client and server. To make this package useful, you should also install gsi-openssh-clients, gsi-openssh-server, or both.

We can use yum or dnf to install gsi-openssh on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gsi-openssh.

Install gsi-openssh on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gsi-openssh using dnf by running the following command:

sudo dnf -y install gsi-openssh

Install gsi-openssh on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gsi-openssh using yum by running the following command:

sudo yum -y install gsi-openssh

How To Uninstall gsi-openssh on AlmaLinux 8

To uninstall only the gsi-openssh package we can use the following command:

sudo dnf remove gsi-openssh

References

Summary

In this tutorial we learn how to install gsi-openssh on AlmaLinux 8 using yum and dnf.