[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .bashrc is not sourced after ssh -t (but is sourced if -t isn't used
From: |
Chet Ramey |
Subject: |
Re: .bashrc is not sourced after ssh -t (but is sourced if -t isn't used) |
Date: |
Wed, 05 Dec 2007 22:30:45 -0500 |
User-agent: |
Thunderbird 2.0.0.9 (Macintosh/20071031) |
Vincent Lefevre wrote:
> which can be interpreted as being the remote shell daemon. I think
> that the bash man page should be clarified.
I'll tighten it up some.
> My main complaint is that bash behaves differently when one uses
> "ssh <host> <cmd>" and "ssh -t <host> <cmd>". Something needs to
> be done to make these commands consistent.
Such a mechanism is available to you: rebuild after enabling
SSH_SOURCE_BASHRC.
> BTW, where can this discussion be found? Could there be a reference
> to this discussion in the CHANGES and COMPAT files?
Look back in the bug-bash mailing list archives. You can find the
approximate time of the change from the changelog (CWRU/changelog).
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/