delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/06/05:58:11

From: dumser AT rtis DOT ray DOT com (James Dumser)
Subject: Re: ssh/sshd and /dev/tty
6 Jan 1998 05:58:11 -0800 :
Message-ID: <34B235A5.A2513A8D.cygnus.gnu-win32@rtis.ray.com>
References: <Pine DOT SGI DOT 3 DOT 96 DOT 980105144003 DOT 28250F-100000 AT kent DOT acl DOT lanl DOT gov>
Mime-Version: 1.0
To: Derek Young <derek AT biddersedge DOT com>
Cc: "Patrick J. Fay" <pfay AT acl DOT lanl DOT gov>, chuck AT ethereal DOT ru,
gnu-win32 AT cygnus DOT com

On Mon, 5 Jan 1998 14:58:48 -0700 (MST), Patrick J. Fay
  <pfay AT acl DOT lanl DOT gov> wrote:
>Let's try this all on your PC.
>Try:
>1st window
>./sshd -d
>2nd window
>env|grep HOST
>(for bash)
>export CYGWIN_TITLE=1
>export CYGWIN_TTY=1
>export DISPLAY='yourhost:0.0'
>export TERM=linux #this may not be necessary
>./ssh -v yourhost

I'm not using ssh/sshd, but from the conversation that's been going on,
I believe CYGWIN_TTY=1 is the important one. Sergey's DLL does not
support pseudo terminals without it (or if it's set to 0).

It's important to have CYGWIN_TTY set before cygwin.dll loads. Also, if
you eventually want to run sshd as a service, remember that the user it
will run as also needs to have CYGWIN_TTY set. I'd recommend putting
CYGWIN_TTY=1 in your global environment and then rebooting.

-- 
James Dumser    972.462.5335    dumser AT rtis DOT ray DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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