This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OpenSSH and WinCVS

> 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">

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
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.


Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]