On Mon, Jul 30, 2001 at 07:53:39AM -0400, Greg Wooledge wrote:
> On Sun, Jul 29, 2001 at 01:49:46AM -0400, Michael B. Allen wrote:
>
> > Almost! But not quite. I'm using pam now and cranked up debugging.
>
> > debug1: PAM Password authentication for "sshtest" failed[7]: Authentication failure
> > Failed password for sshtest from 192.168.1.16 port 1051 ssh2
>
> Are you using md5 passwords? If so, make sure /etc/pam.d/ssh* is
I copied the sshd.pam file into /etc/pam.d/ without renaming it. Changing
the name from sshd.pam to simply sshd looks like it worked.
Thanks for all your help,
Mike
[root@nano openssh-2.9p2]# ./sshd -ddd -f ../etc/sshd_config
<...>
debug2: tty_parse_modes: 74 0
debug2: tty_parse_modes: 75 0
debug2: tty_parse_modes: 90 1
debug2: tty_parse_modes: 91 1
debug2: tty_parse_modes: 92 0
debug2: tty_parse_modes: 93 0
debug2: callback done
debug2: callback start
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request shell reply 0
debug1: PAM setting tty to "/dev/pts/9"
debug1: PAM establishing creds
debug1: channel 0: rfd 7 isatty
debug1: Setting controlling tty using TIOCSCTTY.
debug1: fd 7 setting O_NONBLOCK
debug1: fd 3 IS O_NONBLOCK
debug2: callback done
[sshtest@nano sshtest]$ ssh nano
sshtest@nano's password:
Last login: Tue Jul 31 02:47:58 2001 from nano.foo.net
debug1: PAM establishing creds
Environment:
USER=sshtest
LOGNAME=sshtest
HOME=/home/sshtest
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
MAIL=/var/spool/mail/sshtest
SHELL=/bin/bash
SSH_CLIENT=192.168.1.16 1066 22
SSH_TTY=/dev/pts/9
TERM=xterm
[sshtest@nano sshtest]$