sftp session disconnects right after passwd enter

Ben Lindstrom mouring at offwriting.org
Sat May 31 00:27:05 EST 2014



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



More information about the openssh-unix-dev mailing list