Re: sftp session disconnects right after passwd enter

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Greetings Nico, Ángel

> Sent: Sunday, June 01, 2014 at 11:51 PM
> From: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
> To: "Ángel González" <keisial@xxxxxxxxx>
> Cc: daggs <daggs@xxxxxxx>, "openssh-unix-dev@xxxxxxxxxxx" <openssh-unix-dev@xxxxxxxxxxx>
> Subject: Re: sftp session disconnects right after passwd enter
>
> On Sun, Jun 1, 2014 at 4:39 PM, Ángel González <keisial@xxxxxxxxx> wrote:
> > On 01/06/14 21:56, daggs wrote:
> >>
> >> I fixed a config issue, now it works without the ChrootDirectory, how can
> >> I fix it? Thanks.
> >
> > What about changing  /usr/lib64/misc/sftp-server to internal-sftp ?
> >
> > I suspect you don't have a /home/sftp_user/usr/lib64/misc/sftp-server binary
> > ;)
> 
> He's right. You should, normally, be using the "internal-sftp" option
> for that SFTP binary.
> 

you are both correct, the first bug was that the path given to the binary didn't exists, after changing it to the correct path, I was able to connect without the chrootdirectory defined.
but it seems that chrootdirectory can be used only with internal-sftp so I've modified it and it works.

I do wonder why chrootdirectory can work only with internal-sftp

thanks to all of the help.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev





[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux