Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: cygwin AT cygwin DOT com Subject: Re: OpenSSH and WinCVS Message-Id: <20020806140534.757a155a.steven.obrien2@ntlworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: #!/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 and use run.exe from the cygwin xfree86 distro to launch it from a desktop shortcut: Target: C:\cygwin\usr\X11R6\bin\run.exe C:\cygwin\bin\bash.exe -c wincvs-ssh Start in: C:\cygwin\bin 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/