delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/07/12:07:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <398EDFDC.601825EB@nca.asu.edu>
Date: Mon, 07 Aug 2000 09:12:12 -0700
From: "C. R. Oldham" <cro AT nca DOT asu DOT edu>
Organization: NCA Commission on Schools
X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT sources DOT redhat DOT com>
Subject: WinCVS via Corinna's SSH works & "Exporting" of env vars.

Greetings,

I was just successful in using WinCVS to talk to a CVS server via
Corinna's OpenSSH port.  I also was employing ssh-agent, so that was
good news.  I had previously posted that I
was having trouble making that work.  Note that you must use 1.1.4 of
the cygwin DLL and set the env var CYGWIN to contain "binmode" or else
ssh converts cr/lfs and WinCVS does not understand the result.

Now, the second problem.  Ssh-agent is particularly cumbersome to use
since it is hard to get all processes on Windows to be a descendant of
it.  It appears, however, that there must be some way to export the
relevant environment variables SSH_AGENT_PID/SSH_AGENT_SOCK, etc, out to
the OS (e.g. they would be visible in the System control panel).  I
figure this must be possible since MS Developer Studio does this when it
installs, and it does not require a reboot.  Is there an easy way?

My plan was to write a batch file or somesuch that would start
ssh-agent, add the relevant identity, get the passphrase, and export the
variables to the right process space.  Then upon death of ssh-agent, the
batch file would terminate and clean up the variables.

--
   / Charles (C. R.) Oldham      | NCA Commission on Schools   \
  / Director of Technology       | Arizona State University     \
 / "cro at nca dot asu dot edu"  | V:480/965-8703 F:480/965-9423 \
 |                   http://www.nca.asu.edu/                     |



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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