OpenSSH SecurID is a patch that integrates SecurID authentication services directly into the OpenSSH daemon. It allows users to use SecurID tokens directly as their passwords instead of relying on the clunky sdshell.
This is how it works:
0) apply patch ;-) You must use GNU patch (get it from ftp.gnu.org, it free.)
1) copy ACE headers (in SecurID inc directory) into either a standard include place (like /usr/local/include) or into the openssh source tree or add the --with-cflags=-I/path/to/ace/inc (where the include files are located)
2) copy the libaceclnt.a (for ACE 5.X) or sdiclient.a (for ACE