SFTP Jails Not Working Correctly Under Ubuntu 10.04
Match group filetransfer
ChrootDirectory %h
X11Forwarding no
AllowTcpForwarding yes
ForceCommand internal-sftp
and try to connect with FileZilla, it spits out this error:
> Error: Connection reset by peer
Error: Could not connect to server
Is there any reason that it should block me, or is it a problem with FileZilla?
4 Replies
eg````
/usr/sbin/sshd -ddd -p 2222
And then in another window
ssh testuser@localhost -p 2222
````
You should see the reason for the error
ls -lA /home
ls -lA /home/