I have used other distros and remembered before openssh provides a "ssh-argv0" program, which is very useful in scripts, but now it disappered; I cannot find any recorded reason why it not be installed? Or gentoo never installed it? However, you can still find ssh-argv0 on debian openssh-client filelist, http://packages.debian.org/sid/openssh-client Please add that program when installing openssh.
The program you mentioned is a debian specific addition (as shown by looking in [1] which is the difference between the upstream version and the debian version of openssh). As such I've altered your bug to be an enhancement request for ssh-argv0 to be added to the openssh package and CCed the appropriate herd. Having said that, don't be surprised if they suggest it should be a separate package, it's entirely their choice. [1] http://ftp.de.debian.org/debian/pool/main/o/openssh/openssh_5.1p1-5.diff.gz
We've never used the Debian patch and thus never had that script. It was never shipped by upstream OpenBSD. That said, I'd be willing to include just that script in future releases of our openssh ebuild, if you could please extract the script, related documentation and buildsystem modifications for it from the latest patch and present them here as a directly usable patch. P.S. It seems to have compatibility warnings all over it, so I'd suggest fixing your scripts to make them more portable.
basically this script allows you to omit the "ssh" part of: ssh somehost ..... you could do the same thing with: somehost() { ssh somehost "$@"; } seems kind of useless to me