sftp session disconnects right after passwd enter

Darren Tucker dtucker at zip.com.au
Thu May 29 06:53:19 EST 2014

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:;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

      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.

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.

More information about the openssh-unix-dev mailing list