Re: .bashrc is not sourced after ssh -t (but is sourced if -t isn't used
From:
Vincent Lefevre
Subject:
Re: .bashrc is not sourced after ssh -t (but is sourced if -t isn't used)
Date:
Wed, 5 Dec 2007 09:37:49 +0100
User-agent:
Mutt/1.5.17-vl-r19795 (2007-11-30)
On 2007-12-04 22:56:21 -0500, Chet Ramey wrote:
> Bash does 1 if (and only if) it can detect it's being run with its
> stdin connected to a socket. `ssh -t' intentionally defeats that.
> There is other checking that SSH_SOURCE_BASHRC enables: looking for
> SSH_CLIENT or SSH2_CLIENT.
So, will SSH_SOURCE_BASHRC be reenabled by default so that bash
behaves as documented?
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)