I'm sure the people behind

http://chrootssh.sourceforge.net/index.php

would argue about it being impossible.

Before I saw the light and went OpenBSD I used these patches on an FC1 box and it worked like a charm, doing exactly what your after.

I've not tried to replace the OpenSSH install on OpenBSD with a patched version always assuming it would break horribly.

If you get it working let me know as I'd love to be able to chroot SSH/SFTP again.


Bambero wrote:
You can create a systrace policy for a sshd instance dedicated to sftp
service

This sems to be better way.
Whatever, it will be nice to have builtin chroot in sftp-sever. Such
in ftpd. But I suppose it's technicaly impossible.

Thanks for help
Bambero

Reply via email to