sshpass install centos 8 code example
Example: sshpass install centos 8
sshpass is available in the EPEL repository of CentOS 8/RHEL 8. You must have the EPEL repository enabled to install sshpass.
First, update the DNF package repository cache via the following command:
$ sudo dnf makecache
Next, install the EPEL repository package via the following command:
$ sudo dnf install epel-release -y
The EPEL repository package should now be installed and the EPEL repository should be enabled.
Update the DNF package repository cache again, as follows:
$ sudo dnf makecache
Install sshpass via the following command:
$ sudo dnf install sshpass -y