sftp session disconnects right after passwd enter

daggs daggs at gmx.com
Fri May 30 17:13:45 EST 2014


Greetings Darren,
> Sent: Thursday, May 29, 2014 at 8:46 AM
> From: daggs <daggs at gmx.com>
> To: "Darren Tucker" <dtucker at zip.com.au>
> Cc: "OpenSSH Devel List" <openssh-unix-dev at mindrot.org>
> Subject: Re: sftp session disconnects right after passwd enter
>
> Greetings Darren,
> 
> > Sent: Wednesday, May 28, 2014 at 11:53 PM
> > From: "Darren Tucker" <dtucker at zip.com.au>
> > To: "Dagg Stompler" <daggs at gmx.com>
> > Cc: "OpenSSH Devel List" <openssh-unix-dev at mindrot.org>
> > Subject: Re: sftp session disconnects right after passwd enter
> >
> > On Wed, May 28, 2014 at 2:16 PM, Dagg Stompler <daggs at gmx.com> wrote:
> > [...]
> > 
> > >          May 21 22:56:30 NCC-5001-D sshd[30708]: SSH: Server;Ltype:
> > >          Version;Remote: 111.111.111.111-41017;Protocol: 2.0;Client:
> > >                             OpenSSH_6.6p1-hpn14v4
> > >
> > 
> > This indicates that you are using a modified version of OpenSSH. Can you
> > reproduce the problem with the stock version compiled from the code on
> > openssh.com?
> I'm running gentoo, no sure what patches get applied, will check.
afai can see, this is are the patches which gets applied but only the latter is used as I don't compile openssh with X509 flag set.
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-misc/openssh/files/openssh-6.6_p1-x509-hpn14v4-glue-p2.patch?view=markup
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-misc/openssh/files/openssh-6.6_p1-x509-glue.patch?view=markup
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-misc/openssh/files/openssh-6.6_p1-openssl-ignore-status.patch?view=markup

any ideas?
> 
> > 
> >       May 21 22:56:34 NCC-5001-D sshd[30721]: debug1: PAM: establishing
> > >                                  credentials
> > >          May 21 22:56:34 NCC-5001-D sshd[30708]: debug1: do_cleanup
> > >
> > 
> > I would guess there's something in the PAM session stack that causes
> > pam_setcred to fail.
> anything specific I need to look at within pam_setcred?
> 
> > 
> > -- 
> > 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.
> > _______________________________________________
> > openssh-unix-dev mailing list
> > openssh-unix-dev at mindrot.org
> > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
> > 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
> 


More information about the openssh-unix-dev mailing list