SSH_CLIENT _not_ set when doing a command

Michael Stone mstone at cs.loyola.edu
Sat Sep 30 02:41:05 EST 2000


On Fri, Sep 29, 2000 at 08:25:25AM -0700, Mark D. Baushke wrote:
> Looking at past sources, it appears that bash introduced the idea of
> unexporting the SSH_CLIENT variable in version 2.02 (not a new feature
> of version 2.04 as Mike suggested) and has been in each subsequent
> release of bash.

Did you actually check this? Yes, bash has tried to do stuff with ssh
since 2.02. But the entry for changes between bash-2.04-devel and
bash-2.03-release contains:
t.  The SSH_CLIENT environment variable is no longer auto-exported.

And certainly in my testing it affects 2.04 but *not* 2.03.

-- 
Mike Stone





More information about the openssh-unix-dev mailing list