[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: scp, no ssh



On Wednesday 09 January 2002 21:23, Joel Michael wrote:
> On Thu, 2002-01-10 at 12:19, Tim Quinlan wrote:
> > how about setting the user's shell to /bin/true.  this allows ftp, but no
> > login shell.  so it may work for scp as well.
>
> This is true, but you can still (probably) use ssh to execute commands,
> like /bin/sh, and effectively get a shell.

you may be right, as i've never tried this with scp but what true does (as a 
shell) is log you out instantly.  so, in theory, you couldn't execute a 
command from ssh because as soon as you authenticate, true would log you out. 



Reply to: