How To Install openssh-clients on Rocky Linux 8
Introduction
In this tutorial we learn how to install openssh-clients
on Rocky Linux 8.
What is openssh-clients
OpenSSH is a free version of SSH (Secure SHell), a program for logging into and executing commands on a remote machine. This package includes the clients necessary to make encrypted connections to SSH servers.
We can use yum
or dnf
to install openssh-clients
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install openssh-clients.
Install openssh-clients 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 openssh-clients
using dnf
by running the following command:
sudo dnf -y install openssh-clients
Install openssh-clients 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 openssh-clients
using yum
by running the following command:
sudo yum -y install openssh-clients
How To Uninstall openssh-clients on Rocky Linux 8
To uninstall only the openssh-clients
package we can use the following command:
sudo dnf remove openssh-clients
openssh-clients Package Contents on Rocky Linux 8
/etc/ssh/ssh_config
/etc/ssh/ssh_config.d
/etc/ssh/ssh_config.d/05-redhat.conf
/usr/bin/scp
/usr/bin/sftp
/usr/bin/ssh
/usr/bin/ssh-add
/usr/bin/ssh-agent
/usr/bin/ssh-copy-id
/usr/bin/ssh-keyscan
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/f94336307838b977e51a7d7926073f4426205c
/usr/lib/.build-id/43
/usr/lib/.build-id/43/5eab60c23bc91b8ebf3cf1430056d21c2b4a15
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/3a5549b57ff35dd4375edd1671850c0249d133
/usr/lib/.build-id/96
/usr/lib/.build-id/96/b3c6ef79201c1a2435c474e07cd33c0850beda
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/d065917a1a0fde70d5761da82c4b96d5644d36
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/4c96155519eafb8038de72433291499cfcdc7f
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/55df24baabd31bee4f37976a298c07e3127690
/usr/libexec/openssh/ssh-pkcs11-helper
/usr/share/man/man1/scp.1.gz
/usr/share/man/man1/sftp.1.gz
/usr/share/man/man1/ssh-add.1.gz
/usr/share/man/man1/ssh-agent.1.gz
/usr/share/man/man1/ssh-copy-id.1.gz
/usr/share/man/man1/ssh-keyscan.1.gz
/usr/share/man/man1/ssh.1.gz
/usr/share/man/man5/ssh_config.5.gz
/usr/share/man/man8/ssh-pkcs11-helper.8.gz
References
Summary
In this tutorial we learn how to install openssh-clients
on Rocky Linux 8 using yum and dnf.