delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/06/09:05:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 6 Aug 2002 14:05:34 +0100
From: "Steven O'Brien" <steven DOT obrien2 AT ntlworld DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH and WinCVS
Message-Id: <20020806140534.757a155a.steven.obrien2@ntlworld.com>
Mime-Version: 1.0

Hi
> I experienced problems when using WinCVS 1.2 on Windows 98, OpenSSH
> 3.4p1-5. I searched this mailing list, and found that other people had
> experienced the same kind of problem a month ago, but not exactly the
> same one.


I use WinCVS with ssh regularly with no problems. I am using cygwin
1.3.12-2 with openssh 
OpenSSH_3.4p1-5 and WinCVS 1.2 on windows 2000. Maybe the difference is
win98/win2k, but in case its any help, here is my setup:

My CYGWIN env var is "ntsec binmode tty"

I use the following script to launch wincvs:
<shellscript name="wincvs-ssh">
#!/bin/sh

export CVS_RSH=ssh
export TOP=$$

eval `ssh-agent`

# either use a dos cmd box
#cmd /c start " WinCVS (ssh)" /WAIT bash -c "ssh-add || { ssh-agent -k;
#kill $TOP; }"

# or a cygwin rxvt terminal
rxvt +ip +sb -tn rxvt -fn "Lucida Console-10" -fg white -bg SeaGreen
-geometry 80x5 -title "WinCVS (ssh)" -e bash -c "ssh-add || { ssh-agent
-k; kill $TOP; }"

unset TOP
/cygdrive/c/program\ files/GNU/WinCvs\ 1.2/WinCVS.exe
ssh-agent -k

</shellscript>

and use run.exe from the cygwin xfree86 distro to launch it from a
desktop shortcut:

<shortcut>
Target: C:\cygwin\usr\X11R6\bin\run.exe C:\cygwin\bin\bash.exe -c
wincvs-ssh
Start in: C:\cygwin\bin
</shortcut>

You get a pop-up rxvt (or cmd box - change the script as marked) to
enter your ssh passphrase,
then wincvs starts. When you close wincvs, the ssh-agent is stopped.

When running cvs commands, wincvs generates a minimized dos box, but
this always disappears when the cvs command terminates.

Steven





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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