delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/05/14:06:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 5 Feb 2012 20:05:29 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-1.7.10-1 and sshd
Message-ID: <20120205190529.GD10279@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4F2ECF29 DOT 6080309 AT w5pny DOT com>
MIME-Version: 1.0
In-Reply-To: <4F2ECF29.6080309@w5pny.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb  5 11:49, Harry G McGavran Jr wrote:
> It rather looks like sshd puts tty as a value in the CYGWIN
> environment variable. Anyway -- It's tiring to see
> the warning about having tty as a value in the
> CYGWIN environment variable when I ssh to a cygwin host
> running 1.7.10-1.  Windows accounts I'm ssh'ing to
> do not set the CYGWIN environment variable, I'm only
> seeing this on those accounts when ssh'd to from
> elsewhere ....

I don't understand this description.  What accounts on what machine
from where?!?

The CYGWIN=tty setting is neither set by sshd itself, nor is it set by
the ssh-host-config script by default.  "Somebody" must have created
this manually.  It's probably a setting in the sshd server entry.  Look
for the service registry entry

  HKLM/SYSTEM/CurrentControlSet/services/sshd/Parameters/Environment

If it's not set there, it could be set in ~/.ssh/environment, or in
~/.ssh/rc, or in the ~/.ssh/authorized_keys file.  Alternatively it's a
setting done in the user's profile on the target machine.  Or in the
global Windows environment.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019