New % substitution for sshd_config

Sue Spence sue at pennine.com
Tue Aug 14 20:07:08 EST 2012


I have a system which would benefit from the ability to configure sftp chroot jailing to a directory containing a group name.  I have created a simple patch which implements this change and tested it on the openssh 6.0p release. Briefly, %g expands to the user's group name in a ChrootDirectory configuration line.

Is it possible that such a change might be rolled into openssh? I would like to be able to use an unpatched version eventually.  I will forward the patch in a separate message.

Thanks,
Sue Spence
Pennine Web Works Ltd



More information about the openssh-unix-dev mailing list