OpenSSH 4.0p1 ignoring password authentication

Darren Tucker dtucker at
Thu May 12 07:58:44 EST 2005

kareemy wrote:
> I recently compiled OpenSSH 4.0p1 with OpenSSL 0.9.7g on my Linux
> machine.

Which distribution is this?

Does "ssh -o PreferredAthentications=password yourserver" work?

> When I try to connect, the connection is
> immediately closed. When I setup public key authentication, I am able
> to login using my public key. However password authentication seems to
> be ignored.  I attached debugging output from both the server and
> client.

As a long shot, try creating a /var/empty/lib directory (ie a "lib" dir 
in wherever you have sshd's privsep chroot configured) and see if that 
makes a difference.

Darren Tucker (dtucker at
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