\begin{Conrad Parker}
> On Mon, Oct 30, 2000 at 12:18:21PM +1100, Ben Leslie wrote:
> > On Mon, 30 Oct 2000, Rodos wrote:
> >
> > > Is there a way to allow people to use scp to copy files over ssh but not
> > > to login in over ssh?
> if you use RSA keys for the ssh authentication, you can restrict the
> commands that can be run from certain keys. Most commonly, you set
> the key to only run something like "sleep 20"
echo "PATH=${PATH}:${HOME}/bin" > newprofile
scp newprofile host:.profile
scp hax0r.sh host:bin/sleep
ssh host sleep 20
make sure you use absolute paths, or find a better way or something
--
- Gus
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug