Limiting a user to scp and not ssh

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Alexander
Date:  
Subject: Limiting a user to scp and not ssh
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.