compiling other options into sshd

Joel Hatton freebsd-questions at auscert.org.au
Thu Aug 11 02:13:57 GMT 2005


Hi,

I'd like to compile support for FreeBSD OPIE into sshd. Presently I have
to use PAM to achieve one-time password support. On a 4.x system I have
in /etc/ssh/sshd_config

ChallengeResponseAuthentication yes

and in /etc/pam.conf

sshd    auth    sufficient      pam_opie.so     no_fake_prompts

Rather than do this on a 5.x system now, I'd prefer to just enable OPIE
in the sshd binary, but I'm not sure if this is possible with a commandline
option to make. I would like to rebuild it in the usual way:

# cd /usr/src/secure/usr.sbin/sshd
# make obj && make depend && make all install

but somehow define OPIE or, I think, include the configure option
--with-skey=PATH, or both.

Can this be achieved within the regular system build process, or must I
roll my own?

thanks,
joel


More information about the freebsd-questions mailing list