Subject: RE: pkgsrc with Slackware 10
To: None <>
From: Will Saxon <>
List: tech-pkg
Date: 11/09/2004 18:52:38
> -----Original Message-----
> From: Jeremy C. Reed []
> Sent: Thursday, November 04, 2004 11:46 AM
> To: Will Saxon
> Cc:
> Subject: Re: pkgsrc with Slackware 10
> On Thu, 4 Nov 2004, Will Saxon wrote:
> > Is this the appropriate list for questions about pkgsrc on=20
> non-NetBSD
> > systems like Linux?
> It is fine. Just be sure to mention your operating system=20
> like you did.
> > I am trying to install OpenSSH via pkgsrc. It compiles and installs
> > without issue. I have created all the host keys, placing them in
> > /usr/pkg/etc/ssh/. However, I am not able to establish outgoing ssh
> > connections and unable to authenticate incoming connections.
> >
> > Attempting to establish an outbound connection yields the=20
> error "Host
> > key verification failed." I have set=20
> 'StrictHostKeyChecking=3Dask' in both
> > the /usr/pkg/etc/ssh/ssh_config file as well as my=20
> ~/.ssh/config file,
> > to no avail.
> StrictHostKeyChecking should default to ask.
> Is this connecting to your own sshd (from pkgsrc). Or is it=20
> for various
> SSH servers?

This is using the pkgsrc ssh to connect to any other sshd I administer,
including the pkgsrc sshd

> > While running sshd, connections are established but=20
> passwords are never
> > accepted. Running sshd in debug mode shows that the=20
> keyboard-interactive
> > auth method fails before I ever get to enter a password.=20
> Then with the
> > password auth mode, I show an error about auth_shadow_pwexpired.
> > Password authentication also fails.
> Maybe you can provide the actual ssh -vvv and sshd -d output,=20
> maybe we can
> notice something else.

I have placed a script of an `ssh -vvv` attempt using the pkgsrc
ssh as well as an `sshd -ddde` script for an incoming attempt to
the pkgsrc sshd at: and

> I use pkgsrc's openssh under Linux too. I use it with PAM=20
> (from pkgsrc),
> so I had to set up a PAM configuration also. (The example PAM
> configuration is wrong. It has wrong hard-coded paths. I need to fix
> that.)

I am not using PAM, although I am certainly open to that if it will=20