Re: WinCVS through Putty and SSH problem (newbie)

brookeg1_at_electraforge.com
Date: 01/26/05


Date: 25 Jan 2005 16:15:56 -0800

Here's how I have set up to use WinCVS and Putty (and pageant and
plink). Here's one download page for Putty:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Get putty.exe, plink.exe, pageant.exe, and puttygen.exe (usually
available in putty.zip). Put them in, for example, "c:\pf\putty".

Start puttygen.exe. Create your private and public key without a
passphrase. Call it, for example, "mykey". You can import an openssh
key and export the putty-style public and private keys.

Start pageant.exe. Add the private key you made (the one with the
"ppk" extension).

Make a batch file called "startpageant.bat" in your "c:\pf\putty"
folder with the following line in it:
c:\pf\putty\pageant "c:\pf\putty\mykey.ppk"

Start putty.exe. Set the following settings:
session->host [name or IP address set to the machine CVS is on]
session->protocol [set to ssh]
Save this session as whatever you want to name it.

Then in WinCVS, in admin->preferences, make sure you put
":ext:yourlogin@puttysessionname:/serverlocation/of/cvs" in as your
CVSROOT, where yourlogin, puttysessionname, and /serverlocation/of/cvs
are, respectively, your login name on the cvs machine, the name under
which you saved the putty session you created above, and the path to
cvs on the server.

In wincvs, make sure also that authentication is set to SSH and that
your RSA identity is set to the putty private key you loaded into
pageant. Make sure pageant is running before you start wincvs (i.e.,
put a shortcut to it or to an appropriate batch file for starting
pageant into your startup folder if you want pageant started every time
you start your computer). Also, set admin->preferences->ports "check
for an alternate rsh name" be the path to your plink.exe program.
-- Brooke P. Anderson



Relevant Pages

  • Re: Tramp on Windows (was: Re: Beyond CL?)
    ... do you know how to get Tramp working ... PuTTY makes life on win32 slightly bearable. ... Run Pageant when your machine boots to ... store your private key and you won't have to type a ...
    (comp.lang.lisp)
  • Details of pageant needed
    ... I've been trying to find information about pageant's communication ... I've got all putty thingys in place; ... Remote dRSA authentication accepted. ... the part "Pageant is running" takes like two minutes; ...
    (comp.security.ssh)
  • putty + ssh.com + pageant still prompt password
    ... I am using putty + pageant to connect to ssh.com sshd2. ... to avoid typing password everytime. ... Putty development snapshot 2002-03-04 on Windows 2000 SP2 ... On the client I have setup a DSA private key in pageant and copied the ...
    (comp.security.ssh)
  • Re: Telnet barring for particular user
    ... Use Putty's pageant and you don't have to type your password (you may ... still have to type the Pass phrase to use the private key. ... Emerson Takahashi ...
    (comp.unix.solaris)
  • Re: Windows, Net::SSH: how do I use a private key (w / passw
    ... but I would prefer it to use a private key for the ... Pageant is like a ssh keyring that hold all your private ... you need to create a PuTTY session with the same name of ... you're using to log into the server. ...
    (comp.lang.ruby)