sftp client

Martin Forssen maf at appgate.com
Mon Feb 12 18:15:41 EST 2001


On 11 Feb, Markus Friedl wrote:
> Moreover, since having .bashrc print out things breaks
> many things in Unix, it's not really sshd's job to
> add code that fixes broken installations.

Unfortunately I think we would save people a lot of grief if this was
handled by sshd. So the pragmatic solution would be for sshd to handle
it.

I would probably solve the problem by adding a small helper program
(ssh_subsystem_executer:-) whose only task in life is to print a small
cookie and then to exec the real subsystem (after modifying argv and
argc suitably). The sshd just executes this helper using the users shell
and give sutiable arguments for the subsystem, then it discards
everything up to and including the cookie. This should solve the problem
without the need to add magic things to the protocols and without
subsystem modification.

This does not solve the problems for those users which starts things in
the background which later output things, but for those users I
reccommend castration:-)

	/MaF






More information about the openssh-unix-dev mailing list