This is an example configuration of PingID SSH for ForceCommand on Red Hat.
This process assumes that you specified
--prefix=/usr in the
Edit the sshd_config file.
sudo vi /etc/ssh/sshd_config
pingid_fcwith its full path.
Match User joe ForceCommand /usr/sbin/pingid_fcNote:
Disable PermitTunnel and AllowTcpForwarding in the sshd_config file because tunneling and port forwarding are performed before PingID authentication is triggered.
To apply the changes and activate PingID MFA integration with SSH, restart the
sudo service sshd restart