scp not tolerant of extraneous shell messages
Markus Friedl
markus at openbsd.org
Wed Jul 3 18:11:31 EST 2002
On Tue, Jul 02, 2002 at 08:13:57PM +0000, Bryan Henderson wrote:
> >> Why should sftp-server have any shell dependancy at all? I was
> >> under the impression the whole point of the subsystem interface was to
> >> finally gain independance from the vagaries of the shell.
> >
> >more people think the shell should always be involved.
> >
> >otherwise you can still sftp if the shell is set
> >to /bin/false for example.
>
> I haven't used sftp, but I see the same thing Dan does in the code:
> when you use a subsystem such as sftp, there's no shell.
there is a shell involved. the loginshell is used to run the command.
More information about the openssh-unix-dev
mailing list