hi dave,
> I am setting up a shell hosting system for a customer. I want him to
> be able to use a limited shell on the machine, and I think a chroot
> jail is the best way. How do I configure SSH so that he is plopped
> into the jail as soon as he logs in via ssh?
not sure if this is an ssh issue...
one thing you could do is write a small piece of code
which chroots the user into the jail & then use this
as their login shell. that way they'll be nailed
regardless of the way in which they manage to login.
if you need to make a decision based on the IP
address the user connected to, chrootip may be useful:
ftp://ftp.obtuse.com/pub/utils/utils-1.0/README
if you're using solaris, /usr/lib/rsh may be all that
you need? man -s 1m rsh gives you the rundown on the
restricted shell.
hope this helps,
pauline
p.s. apologies in advance if you've seen this twice. 8-)