SSH_CLIENT _not_ set when doing a command

Michael Stone mstone at cs.loyola.edu
Fri Sep 29 22:25:30 EST 2000


On Fri, Sep 29, 2000 at 11:34:28AM +1100, Damien Miller wrote:
> On Thu, 28 Sep 2000, Daniel Saakes wrote:
> > we (sendy & me) think it is a bash problem.
> 
> Are you sure you don't have something in /etc/profile, ~/.bash_profile 
> etc which is clearing the environment?

Check the source. (It's a new feature of bash 2.04.) bash actually
does unexport SSH_CLIENT. It's still there if you look at `set`, but
it's not there if you look at `env`. You'd have to ask the bash people
why that was a good idea.

-- 
Mike Stone





More information about the openssh-unix-dev mailing list