How To Install openssh-clients.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openssh-clients.x86_64 in Amazon Linux 2. openssh-clients.x86_64 is An open source SSH client applications

Introduction

In this tutorial we learn how to install openssh-clients.x86_64 on Amazon Linux 2.

What is openssh-clients.x86_64

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 to install openssh-clients.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install openssh-clients.x86_64.

Install openssh-clients.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install openssh-clients.x86_64

How To Uninstall openssh-clients.x86_64 on Amazon Linux 2

To uninstall only the openssh-clients.x86_64 package we can use the following command:

sudo yum remove openssh-clients.x86_64

openssh-clients.x86_64 Package Contents on Amazon Linux 2

/etc/ssh/ssh_config
/usr/bin/scp
/usr/bin/sftp
/usr/bin/slogin
/usr/bin/ssh
/usr/bin/ssh-add
/usr/bin/ssh-agent
/usr/bin/ssh-copy-id
/usr/bin/ssh-keyscan
/usr/lib64/fipscheck/ssh.hmac
/usr/libexec/openssh/ssh-pkcs11-helper
/usr/share/man/man1/scp.1.gz
/usr/share/man/man1/sftp.1.gz
/usr/share/man/man1/slogin.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.x86_64 on Amazon Linux 2 using yum.