ssh myname@myhost 'printf %s: `hostname` ; ssh -V && printf %s:
`hostname` ; php -v'

Will return something like:

myhost:myhost:OpenSSH_3.5etcetcetc
4.x.y


Why is ssh putting the printf's together? This also works with any
combination of ;/&& vs echo -n/printf.

I found this site talking about rsync and getopt problems, but I
haven't figured out the work-around yet:
http://lists.samba.org/archive/rsync...er/010831.html

--
_Matt

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev