here's a port of scponly; so far tested on amd64 and sparc.
Thank you very much for this, it's very useful for me. :-)
any comments, oks?
It works perfect now with OpenBSD 4.0-current on i386, though I had two little problems: After using setup_chroot.sh there were still two things missing in the chroot: /usr/lib/libc.so.40.3 is needed by /usr/libexec/sftp-server (see ldd /usr/libexec/sftp-server) /dev/null is also needed by /usr/libexec/sftp-server (make sure the chroot partition isn't mounted nodev) This post helped me with that: https://lists.ccs.neu.edu/pipermail/scponly/2006-November/001662.html After fixing this it works like a charm! Tas.
