bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSH_CLIENT not auto-exported. Why? (Fwd)


From: Chet Ramey
Subject: Re: SSH_CLIENT not auto-exported. Why? (Fwd)
Date: Wed, 24 Oct 2001 13:29:16 -0400

> Eventually I traced this to bash not passing the exported variable
> SSH_CLIENT from its parent to its own exported environment!

OK.  I'm tired of arguing.  The next version of bash will not do anything
to the SSH_CLIENT or SSH2_CLIENT variables.

Since this now exposes the problem that the un-export attempted to solve,
bash will not try to figure out whether it's being run by sshd at all,
and will not source any startup files if it is.

Anything that users want to do will have to be done with ~/.ssh/environment
or ~/.ssh/rc.

There will be a define in config-top.h to enable the source-bashrc code,
so people who really want it can get it with a rebuild, but it will not
be enabled by default.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]