NetBSD-Users archive

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

Re: sftp on chroot

On 19.09.2010 07:25, Francisco Valladolid wrote:
> if  you change the line:  ChrootDirectory /home/%u  then, it don't connect
> What are happening ? it necessary do :
> % chroot /home
> Or define a alternative partition (/chroot/home/userx  example) for my users ?

/home/%u is not matching %h?

Try using

ChrootDirectory %h

If it does not work, check ssh logs (like /var/log/authlog); the cause
of this is likely to be in there.

Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index