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

In this tutorial we learn how to install openssh-ldap.x86_64 in Amazon Linux 2. openssh-ldap.x86_64 is A LDAP support for open source SSH server daemon

Introduction

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

What is openssh-ldap.x86_64

OpenSSH LDAP backend is a way how to distribute the authorized tokens among the servers in the network.

We can use yum to install openssh-ldap.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-ldap.x86_64.

Install openssh-ldap.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-ldap.x86_64 using yum by running the following command:

sudo yum -y install openssh-ldap.x86_64

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

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

sudo yum remove openssh-ldap.x86_64

openssh-ldap.x86_64 Package Contents on Amazon Linux 2

/usr/libexec/openssh/ssh-ldap-helper
/usr/libexec/openssh/ssh-ldap-wrapper
/usr/share/doc/openssh-ldap-7.4p1
/usr/share/doc/openssh-ldap-7.4p1/HOWTO.ldap-keys
/usr/share/doc/openssh-ldap-7.4p1/ldap.conf
/usr/share/doc/openssh-ldap-7.4p1/openssh-lpk-openldap.ldif
/usr/share/doc/openssh-ldap-7.4p1/openssh-lpk-openldap.schema
/usr/share/doc/openssh-ldap-7.4p1/openssh-lpk-sun.ldif
/usr/share/doc/openssh-ldap-7.4p1/openssh-lpk-sun.schema
/usr/share/man/man5/ssh-ldap.conf.5.gz
/usr/share/man/man8/ssh-ldap-helper.8.gz

References

Summary

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