How to Install and Uninstall openssh.x86_64 Package on Amazon Linux 2

Last updated: February 06,2025

1. Install "openssh.x86_64" package

Please follow the steps below to install openssh.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install openssh.x86_64

2. Uninstall "openssh.x86_64" package

Please follow the instructions below to uninstall openssh.x86_64 on Amazon Linux 2:

$ sudo yum remove openssh.x86_64 $ sudo yum autoremove

3. Information about the openssh.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : openssh
Arch : x86_64
Version : 7.4p1
Release : 22.amzn2.0.1
Size : 1.9 M
Repo : installed
From repo : amzn2-core
Summary : An open source implementation of SSH protocol versions 1 and 2
URL : http://www.openssh.com/portable.html
License : BSD
Description : 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 package includes the core files necessary for both the
: OpenSSH client and server. To make this package useful, you should
: also install openssh-clients, openssh-server, or both.