Mapping usernames with ForceCommand
Mapping usernames enables PingID SSH for users with specific public keys.
Steps
-
Use the command option in the
~/.ssh/authorized_keysfile.Example:
command="/usr/sbin/pingid_fc -u john" ssh-rsa AAA..../KO== john@luni.com command="/usr/sbin/pingid_fc -u david" ssh-rsa BAB...JIL== david@luni.com
This procedure assumes that PingID was installed with
--prefix=/usr.