argv[0] => host feature considered harmful

Markus Friedl Markus.Friedl at informatik.uni-erlangen.de
Fri Feb 9 00:31:29 EST 2001


hi,

do we care about 'argv[0] => host'.
i don't like it but it seems to be to late to drop this
rlogin-compatible feature. a new option seems the only
good option.


On Tue, Feb 06, 2001 at 12:17:40PM -0800, Jos Backus wrote:
> OpenSSH still has this feature, SSH-1.2.27 no longer has it.  Admittedly it
> can be useful sometimes, even though I'd prefer this to be done using a
> trivial shell wrapper, which would be the UNIX way of doing things.
> 
> Not being able to call OpenSSH's ssh by another name (say ``ssh1'') can get in
> the way when having to maintain two versions of ssh in parallel because the
> ``ssh -> ssh1'' symlink trick doesn't work (ssh gives a ``bad hostname: ssh1''
> error message).
> 
> How do others feel about at least conditionalizing this feature? I can come up
> with a patch if needed.
> 
> Thanks,
> -- 
> Jos Backus                 _/  _/_/_/        "Modularity is not a hack."
>                           _/  _/   _/                -- D. J. Bernstein
>                          _/  _/_/_/             
>                     _/  _/  _/    _/
> josb at cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;





More information about the openssh-unix-dev mailing list