SFTP with dummy shells

Ben Lindstrom mouring at etoh.eviladmin.org
Mon Feb 25 07:14:45 EST 2002

On 24 Feb 2002, Florin Andrei wrote:
> On Sat, 2002-02-23 at 23:38, Ben Lindstrom wrote:
> > I don't think it is really the subsystem's job.  Any correctly written
> > dummy shell can detect a '-c sftp-server' and hanlde it gracefully
> > (and no /bin/false is not a dummy shell, IMNSHO =).
> Hmmm... Actually, that sounds interesting. :-)
> So, "-c sftp-server" is the only command passed to the shell?
Yes it is.. For v1 (no subsystem) or v2 (w/ subsystem).

I think the only cause may may run into problems is with your dialog code.
I can't remember if it supports the ability to get command line arguments.

So you may have to rethink how you use Dialog..

- Ben

More information about the openssh-unix-dev mailing list