sftp session disconnects right after passwd enter

daggs daggs at gmx.com
Sun Jun 1 04:05:26 EST 2014


Greetings Ben,

> Sent: Friday, May 30, 2014 at 5:27 PM
> From: "Ben Lindstrom" <mouring at offwriting.org>
> To: daggs <daggs at gmx.com>
> Cc: "OpenSSH Devel List" <openssh-unix-dev at mindrot.org>
> Subject: Re: sftp session disconnects right after passwd enter
>
> 
> 
> On May 30, 2014, at 8:33 AM, Darren Tucker <dtucker at zip.com.au> wrote:
> 
> > On Fri, May 30, 2014 at 3:13 AM, daggs <daggs at gmx.com> wrote:
> > [...]
> > 
> >>>> 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.
> >> 
> > [snip links to patches]
> > 
> >> any ideas?
> > 
> > 
> > Yes, my idea was to actually try an unmodified version rather than just
> > guess.
> > 
> > Other than that, look at what PAM modules are in the sshd stack and check
> > your system logs for errors from those at the time you try it.
> 
> Since we were talking about this slightly earlier.. it may not be a bad idea to check
> who owns the directories on /home/%u  and such.  As I suspect it isn't root, and
> this will also cause you issues.
> 
> - Ben
> 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
> 

/home/%u belong to root:root, content doesn't.


More information about the openssh-unix-dev mailing list