You may be better off using sftp and ssh v2 protocol.  I routinely
build ftp only accounts by carefully setting permissions (to stop users
from by-passing things via .ssh/) and setting the user's shell to the
sftp-server (OpenSSH in my case).

- Ben

On Wed, 3 Oct 2001, Timothy Reaves wrote:

>       I looked over the archives, and saw a couple of threads with a similar
> theme, but none fit my needs.  I also want to allow scp'ing to my server
> without login.  The one script that a helpful user posted won't work for
> me, as the scp'ing is not done from the command line, but via another
> program (using the protocol programatically, not shelling to use the
> actual scp command).
>
>       When I specify /bin/false - or /bin/true - as the shell, scp fails.  So
> that doesn't work.  When I specify /bin/bash, my app works.  I thought
> perhaps this was because sshd was checking to see if the user could log
> in, and if not, wouldn't allow file transfer either.  I could be wrong.
>
>       Any ideas?
>
> ---------------------------------------------------------------------
> 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