Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Weird SSH troubles

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Sergey A. Lipnevich" <sergeyli AT pisem.net>
  • To: Robin <robin AT kallisti.2y.net>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Weird SSH troubles
  • Date: Wed, 11 Dec 2002 16:58:22 -0500

What's in /etc/pam.d/sshd and what are its ownership/permissions? My relevant part is (and I'm logged in at the end):

debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug2: x11_get_proto: /usr/bin/X11/xauth list :0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 4 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072


Robin wrote:

On Wed, Dec 11, 2002 at 03:07:55PM -0500, Sergey A. Lipnevich wrote:

I'm quite sure it wasn't PAM. I have been using 0.75 and now 0.77 without any problems. The only related thing was that PostgreSQL PAM handling is kind of weird, but that's not PAM itself I think. Try running ssh in verbose mode and see where exactly does it fail.

The fact that the error comes from PAM is what makes me think it is.
/etc/shells contains /bin/bash.
ssh -v says (trimmed for relevence):
robin AT 127.0.0.1's password: debug1: ssh-userauth2 successful: method password
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug1: channel_free: channel 0: client-session, nchannels 1
Connection to 127.0.0.1 closed by remote host.
Connection to 127.0.0.1 closed.
debug1: Transferred: stdin 0, stdout 0, stderr 81 bytes in 0.1 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 860.7
debug1: Exit status -1








Archive powered by MHonArc 2.6.24.

Top of Page