Chrooted SFTP on Panther (OS X Server 10.3)

Creating a chrooted sftp on panther server is quit easy, once you’ve found the instructions.
The how-to on this page worked excellent for me.

I needed however a wroking test-editor, enabling users to edit their files on the server.
So I copied pico to the /Users/bin, but pico needs a proper term file to operate.
If you copy these files, pico works as expected:


cp /usr/share/terminfo/78/xterm-color /Users/usr/share/terminfo/78/xterm-color
cp /usr/share/terminfo/76/vt100 /Users/usr/share/terminfo/76/vt100

The virtual host directive in httpd.conf is very flexible. I adjusted the user’s webfolder to a new folder in their chrooted homedirectory and this works as expected, including php etc.

I should have done this earlier…The only thing to do now is educating my users to use sftp instead of ftp.

One Response to “Chrooted SFTP on Panther (OS X Server 10.3)”

  1. Gargleblaster.org » OS X: sshd/sftp jail Says:

    [...] nent Link: OS X: sshd/sftp jail”>
    OS X: sshd/sftp jail

    A while ago I enabled a jail for an useraccount on my server. Last week, I had to add another user. The difference between privilig [...]

Leave a Reply

You must be logged in to post a comment.