2.5.1p1/p2 PermitRootLogin broke (Solaris)
James M Moya
moyman at ecn.purdue.edu
Fri Mar 2 04:00:39 EST 2001
"Dan Kaminsky" said:
>James--
>
> Did you set your configure script correctly to use /var/ssh/sshd_config
>when you recompiled?
>
> Does anything different occur if you use sshd -f /var/ssh/sshd_config ?
>
>--Dan
>
>P.S. Hmmm, no sshd -o ServerOption support...
>
Yes, and the startup uses it explicitly anyway:
tsunami:/[442]# more /etc/init.d/sshd
#!/bin/sh
#
case "$1" in
'start')
if [ -f /var/ssh/sshd_config -a -f /opt/openssh/sbin/sshd ] ; then
/opt/openssh/sbin/sshd -b 640 -f /var/ssh/sshd_config \
-h /var/ssh/ssh_host_key 1>
/dev/null
2>&1
fi
;;
...etc...
Here is my configure script that I used for 2.3 through 2.5p2:
riptide:/usr/src/local/openssh-2.5.1p2[14] more ecn
rm config.cache
CC="cc -xO4 -xarch=v9" ./configure \
--prefix=/opt/openssh \
--sysconfdir=/var/ssh \
--with-rsh=/usr/local/etc/rsh \
--with-ipv4-default \
--with-ssl-dir=/usr/local/ssl \
--with-default-path=/usr/local/bin:/usr/opt/bin:/usr/bin:/usr/site/ecn/
b
in:/opt/openssh/bin \
--with-pid-dir=/var/ssh
--mike
More information about the openssh-unix-dev
mailing list