Fails.. For a simple reason.  SSH launchs the command as

{Your shell) -c scp ...

since  /bin/false does not understand -c it will just log the person out.

- Ben

On Tue, 16 Oct 2001, Blair Lowe wrote:

> Try setting their shell to /bin/false: I am assuming *NIX is your OS.
>
> Hope this works,
> Blair.
>
> At 16:28 -0400 2001/10/16, [EMAIL PROTECTED] wrote:
> >Is there a good way to allow users to scp a file from a server but
> >not login to that server using ssh?
> >
> >Thanks much!
> >
> >Judith Reed
> >[EMAIL PROTECTED]
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
> WE'RE LIVE! Get your .ca domain name today at http://www.domainsunder.ca
>             Computer Engineering Inc. http://www.compeng.net
> Tel: (780) 450 8494 Outside the Edmonton Area Toll Free 1 877 968 7626
>              Hours: Mon - Fri 9:00 - 17:00 Mountain Time.
>                       Fax: (780) 435 0693
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to