How To Install gsi-openssh on Rocky Linux 8

In this tutorial we learn how to install gsi-openssh on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove gsi-openssh

gsi-openssh Package Contents on Rocky Linux 8

/etc/gsissh
/etc/gsissh/moduli
/usr/bin/gsissh-keygen
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/d4ca46387419fda9fa21a98a1e03d20e90dd80
/usr/lib/.build-id/94
/usr/lib/.build-id/94/75f029be7f216c48f4def5f943f46ebccd752f
/usr/libexec/gsissh
/usr/libexec/gsissh/ssh-keysign
/usr/share/doc/gsi-openssh
/usr/share/doc/gsi-openssh/CREDITS
/usr/share/doc/gsi-openssh/ChangeLog
/usr/share/doc/gsi-openssh/HPN-README
/usr/share/doc/gsi-openssh/INSTALL
/usr/share/doc/gsi-openssh/OVERVIEW
/usr/share/doc/gsi-openssh/PROTOCOL
/usr/share/doc/gsi-openssh/PROTOCOL.agent
/usr/share/doc/gsi-openssh/PROTOCOL.certkeys
/usr/share/doc/gsi-openssh/PROTOCOL.chacha20poly1305
/usr/share/doc/gsi-openssh/PROTOCOL.key
/usr/share/doc/gsi-openssh/PROTOCOL.krl
/usr/share/doc/gsi-openssh/PROTOCOL.mux
/usr/share/doc/gsi-openssh/README
/usr/share/doc/gsi-openssh/README.dns
/usr/share/doc/gsi-openssh/README.platform
/usr/share/doc/gsi-openssh/README.privsep
/usr/share/doc/gsi-openssh/README.sshd-and-gsisshd
/usr/share/doc/gsi-openssh/README.tun
/usr/share/doc/gsi-openssh/TODO
/usr/share/licenses/gsi-openssh
/usr/share/licenses/gsi-openssh/LICENCE
/usr/share/man/man1/gsissh-keygen.1.gz
/usr/share/man/man8/gsissh-keysign.8.gz

References

Summary

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