On Sat, Sep 30, 2017 at 08:47:27 +1000, Damien Miller wrote: > On Fri, 29 Sep 2017, Iain Morgan wrote: > > > Actually, according to OpenBSD's printenv(1) man page, it first appeared > > in 2BSD. The man page on OS X claims it was BSD 3.0. However, it doesn't > > appear to be part of any standard. > > > > Your suggestion ran into the same issue as the original test, but > > escaping the evaluation by the user's shell appears to work: > > > > 'test -z `sh -c "echo \$SSH_USER_AUTH"`' || fail "SSH_USER_AUTH present" > > How about: > Yes, that works for me. -- Iain Morgan _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev