From: steve <st...@gr...> - 2009-11-20 03:02:30
|
I've got my system configured such that it automatically offers chrooted sftp to websites. The problem is, that when creating a new site, the sshd_config ( end of... ) is converted from -- 8< -- Subsystem sftp internal-sftp UsePAM yes #DenyGroups deniedssh Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no -- 8< -- to -- 8< -- Subsystem sftp internal-sftp UsePAM yes #DenyGroups deniedssh Match Group sftponly DenyGroups deniedssh ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no -- 8< -- Which is illegal syntax ( not only does it not seem to like the denygroups keyword anyway, but placing it in the middle of a match group is extremely terminal ), and crashes ssh. Can anything be done about this? This is a debian stable ( 5 ) build. Cheers, Steve -- Steve Holdoway <st...@gr...> http://www.greengecko.co.nz MSN: st...@gr... GPG Fingerprint = B337 828D 03E1 4F11 CB90 853C C8AB AF04 EF68 52E0 |