View Single Post
Old 12th February 2010, 14:03
userman userman is offline
Join Date: Feb 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default chroot


I got ispconfig 2.2.35, centos 5.4 and OpenSSH_5.2p1.

I add to sshd_config:
Match Group web*
ChrootDirectory ~/
AllowTcpForwarding no

I change 0 to 1:
$go_info["server"]["ssh_chroot"] = 1;

When I create a user from ispconfig, I get all library into the ftp account but i cant connect to sftp.
I think I get the error in sshd_config because if i dont put the new config into sshd_config, its work!

Whats the my problem?
Thanks for the help!!

** Sorry for my bad english
Reply With Quote