"PermitRootLogin no" fails
Darren Tucker
dtucker at zip.com.au
Fri Feb 8 22:11:26 EST 2008
On Fri, Feb 08, 2008 at 08:56:36PM +1100, Danny Mitchell wrote:
> On 08/02/2008, Darren Tucker <dtucker at zip.com.au> wrote:
[...]
> The configure line was
> ./configure --prefix=/usr/local --with-pam
> --with-ssl-dir=/usr/local/openssl-0.9.8g --with-md5-passwords
> (that's a cut-and-paste of the line; it's in the config log files.)
>
> I explicitly edited the sshd_config files in /usr/local/etc/ssh. I
> have confirmed that the newly-built version is the one that's running
> (it supports ssh2, and my clients use aes; the one the vendor shipped
> only supports ssh1, and doesn't support aes), and "strings
> /usr/local/sbin/sshd | grep sshd_config" returns
> /usr/local/etc/ssh/sshd_config.
The correct pathname is /usr/local/etc/sshd_config based on the configure
flags above. If you want the files in /usr/local/etc/ssh you also need
"--sysconfdir=/usr/local/etc/ssh".
> Thanks for taking the time to reply.
> Dannt Mitchell
You're welcome.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list