ssh argv[0] support
Jonathan Amery
jdamery at chiark.greenend.org.uk
Fri Sep 14 10:03:03 EST 2001
In article <Pine.BSO.4.33.0109131415190.22017-100000 at etoh.eviladmin.org> you write:
>
>I would rather see people submit C code to correct the issue than
>shell script hacks. Nothing personal, but lets solve this problem
>correctly and not half-ass.
>
In what way is this (POSIX shell) script a 'hack'? It's already been
decided that it's impossible to do it right in the main ssh code (what if
you rename ssh was IIRC the main argument), and C is not the right
language to do the job (particularly given it's dodgy string
handling).
Also OpenSSH already distribute one shell script (in contrib) -
ssh-copy-id (which *is* dodgy and hacky, but I'm working on it).
And I might note that one comment in the original discussion was that
a shell script was precisely the right way to do it. If you don't
want 'hacky' shell-scripts then feel free to revert to the old way of
doing it, or write an equivilantly portable and bug-free C-programme.
Jonathan.
More information about the openssh-unix-dev
mailing list