Re: shell initialisation with ssh2

From: bill davidsen (davidsen@tmr.com)
Date: 01/22/02


From: davidsen@tmr.com (bill davidsen)
Date: Tue, 22 Jan 2002 18:44:06 +0000 (UTC)

In article <03y9izl4im.fsf@cc.at.coli.uni-sb.de>,
Frederik Fouvry <fouvry@coli.uni-sb.de> wrote:

| The following seems related to the behaviour of always reading the
| ENV/BASH_ENV. SSH2_TTY is _never_ set in any of the following shells:
| ssh host
| ssh host bash
| ssh host bash -i
| ssh host bash -login
| ssh host bash -login -i
| although the documentation suggests that it sometimes is (and I know
| that with ssh1, it worked as expected). In fact, up to now, I've
| never seen it set, unlike SSH_TTY (for ssh1). If this is a
| misconfiguration, what setting is to blame?

  Are you using a different bash version, or did you mean/want --login?

-- 
bill davidsen <davidsen@tmr.com>
 "If I were a diplomat, in the best case I'd go hungry.  In the worst
  case, people would die."
		-- Robert Lipe