On 2023-03-09, Daniele Bonini <my2...@aol.com> wrote:
> I configured sshd to chroot ftp requests in this way:
>
> Match User myftpuser
>     ChrootDirectory /home/of/the/hackers
>     ForceCommand internal-sftp
>
> giving the proper permissions to the destination dir, etc.
> as from Peter doc too.

Do you have the correct directory?

The user's home directory is appended to ChrootDirectory. e.g. in your example
something like /home/of/the/hackers/home/myftpuser.


-- 
Please keep replies on the mailing list.

Reply via email to