Configuration example of ForceCommand for HP-UX
This is an example configuration of PingID SSH for ForceCommand on HP-UX.
About this task
This assumes that you specified |
Steps
-
Edit the sshd_config file:
sudo vi /opt/ssh/etc/sshd_config
-
Add these lines to the end of the file:
#enable pingid for all users ForceCommand /usr/local/sbin/pingid_fc
Disable
PermitTunnel
andAllowTcpForwarding
in thesshd_config
file because tunneling and port forwarding are performed before PingID authentication is triggered. -
Restart the sshd service:
sudo /sbin/init.d/secsh stop sudo /sbin/init.d/secsh start