OpenSSH + Solaris + AFS ???

caillat at caillat at
Tue Jun 19 19:55:54 EST 2001


On 18 Jun, Ernst Boetsch wrote:
> I need a working configuration of OpenSSH for Solaris 7 (SunOS 5.7)
> with AFS support.  PAM support to use the AFS PAm module `'
> and TCP-Wrapper support would be nice.
> It would be nice to have similar configurations for Solaris 6
> (SunOS 5.6), Solaris 8 (SunOS 5.8) and Solaris 2.5.1.

I successfully compiled openssh 2.9p1 for solaris 2.6 and 7, with pam,
with kth-krb4 1.0.8, openssl 0.9.6a, zlib 1.1.3, tcp_wrapper, and afs
3.6, with the c compiler from sun workshop 5.

My configure command line was something like:

./configure --prefix=/opt/ssh  \
  --with-kerberos4=/opt/krb4  \
  --with-afs=/usr/afsws  --with-tcp-wrappers  --with-pam  \
  --with-ssl-dir=/opt/ssl  \
  --with-rsh=/usr/afsws/bin/rsh  \
  --with-default-path=/bin:/usr/bin:/opt/ssh/bin  \

I had to add a line in includes.h:

#include <sys/iocomm.h>

before the line:

#include <sys/ioctl.h>

I also had to remove the first (added by afs or krb libs) -ldes flag in
the LIBS variable in the Makefile (there's another -ldes flag added by

I hope it helps...

Laurent Caillat-Vallet      | Institut National de Physique Nucleaire et de
Tel. +33  (0) | Physique des Particules  -  Centre de Calcul
Fax. +33  (0) |

More information about the openssh-unix-dev mailing list