Re: WinCVS through Putty and SSH problem (newbie)
brookeg1_at_electraforge.com
Date: 01/26/05
- Next message: Darren Tucker: "Re: What's the deal on the -X vs -Y thing?"
- Previous message: Dan Stromberg: "Re: What's the deal on the -X vs -Y thing?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Darren Tucker: "Re: What's the deal on the -X vs -Y thing?"
- Previous message: Dan Stromberg: "Re: What's the deal on the -X vs -Y thing?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|