Limiting a user to scp and not ssh

Matt Alexander plug-discuss@lists.plug.phoenix.az.us
Thu, 20 Jun 2002 09:57:17 -0700 (PDT)


Uhhh...  but I want them to be able to scp to my box.  If I set their
shell to /bin/false, they can't scp in.


On 20 Jun 2002, Bill Warner wrote:

> Your probably better off just setting there shell to /bin/false in
> /etc/passwd.
>
> If there is every any kind of security hole in scp that someone could
> exploit they could get in to your box with your current setup.