Here I am with one more trouble..

(I'm still waiting proper reply from the hosting for the change of
sshd port and the related consequences to the VPS console but let's 
remain on sftp topic..)

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.

Both by Filezilla and console sftp I get ugly errors:

Filezilla:
FATAL ERROR: Remote side unexpectedly closed network
Could not connect to server

sftp:
client_loop: send disconnect: Broken pipe 
Connection closed


NB: I do not want to exit from the match directive scope
and find me in more troubles :-/


-- Daniele Bonini

Reply via email to