You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Graham Leggett <mi...@sharp.fm> on 2002/09/10 15:51:00 UTC

OT: CVS, SSH and Windows

Hi all,

I'm asking this here as there are people here who have probably got this 
to work, please mail me privately.

I am trying to get WinCVS to connect to a CVS server via SSH. Both 
myself and another person have independantly followed the available docs 
and howtos, and have got nowhere - SSH insists on asking for a password 
on every connection attempt, and won't cooperate.

What do Windows users here use to access CVS over SSH? Is it possible to 
describe what you did to make it work...?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


Re: CVS, SSH and Windows

Posted by john sachs <js...@covalent.net>.
i have the really old cvs/ssh windows binaries here:

http://zlilo.com/ssh/

works for command line cvs'ing on windows.
you just need to set HOME and CVS_RSH env variables.
-j

Re: CVS, SSH and Windows

Posted by Greg Stein <gs...@lyra.org>.
I used a really old pre-built SSH client. Works just fine. It seems that
when I tried to set up a new box and used a newer client, it failed
miserably.

I seem to recall that I generated a keypair on another box and transferred
them onto the Windows box (in a .ssh subdir). Note that you probably have to
create that dir using the cmdline; I don't think Windows Explorer lets you
create ".ssh". Anyways...

Then I put the pubkey into authorized_keys on the server, and it worked
great.

I suspect that you might be able to use the putty tunneling stuff, too, but
I've never tried that.

Cheers,
-g

On Tue, Sep 10, 2002 at 04:11:31PM -0400, Bill Stoddard wrote:
> When you figure it out, please update the developer docs (on
> httpd.apache.org/dev/) with the info.
> 
> Bill
> 
> > -----Original Message-----
> > From: Graham Leggett [mailto:minfrin@sharp.fm]
> > Sent: Tuesday, September 10, 2002 9:51 AM
> > To: dev@httpd.apache.org
> > Subject: OT: CVS, SSH and Windows
> >
> >
> > Hi all,
> >
> > I'm asking this here as there are people here who have probably got this
> > to work, please mail me privately.
> >
> > I am trying to get WinCVS to connect to a CVS server via SSH. Both
> > myself and another person have independantly followed the available docs
> > and howtos, and have got nowhere - SSH insists on asking for a password
> > on every connection attempt, and won't cooperate.
> >
> > What do Windows users here use to access CVS over SSH? Is it possible to
> > describe what you did to make it work...?
> >
> > Regards,
> > Graham
> > --
> > -----------------------------------------
> > minfrin@sharp.fm		"There's a moon
> > 					over Bourbon Street
> > 						tonight..."
> >

-- 
Greg Stein, http://www.lyra.org/

Re: CVS, SSH and Windows

Posted by Cliff Woolley <jw...@virginia.edu>.
On Tue, 10 Sep 2002, Cliff Woolley wrote:

> WinCVS sucks big time.  It's way up there on the bogometer.  Use
> TortoiseCVS instead.

I should qualify that... use the latest development release of
TortoiseCVS... don't bother with the ancient "stable" release.  The dev
release works fine and is much improved (especially w.r.t. its interaction
with SSH, which is key).

--Cliff


Re: CVS, SSH and Windows

Posted by Cliff Woolley <jw...@virginia.edu>.
On Tue, 10 Sep 2002, David Shane Holden wrote:

> I haven't tried to use WinCVS, so I'm of no help there, but hopefully this

WinCVS sucks big time.  It's way up there on the bogometer.  Use
TortoiseCVS instead.

--Cliff


Re: CVS, SSH and Windows

Posted by David Shane Holden <dp...@yahoo.com>.
Here's the solution I came to after dickin' around for hours with it a few
months ago...

Install ssh from http://www.networksimplicity.com/openssh/.  You _cannot_
have cygwin installed along side this port of openssh.  If you want to use
key authenication store your private key as c:\program
files\networksimplicity\.ssh\id_rsa and follow the standard steps to enable
it on the server.  The drawback to this method is you're only allowed one
private key for the entire box, meaning you cannot have multiple users with
their own keys.  But that shouldn't be a problem if its your own machine and
nobody else touches it.

Then you need to get the CVS tarball from cvshome.org.  You'll run into a
problem compiling the 1.11.2 client on Windows.  For some reason a file was
left out.  Have a look at
http://mail.gnu.org/pipermail/info-cvs/2002-April/027542.html, follow the
instructions and it should build with no problem, except for the few hundred
warnings. :)  I'm assuming you're using VC 6 here.

The reason I recommend using netsimp's ssh is that it runs as a native
windows app.  You don't need to fire up cygwin and run ssh from within the
shell, which is hella inconvenient.  Now if anybody else knows of a Windows
ssh client that's open/free and sports key authenication I'd like to hear of it.

I haven't tried to use WinCVS, so I'm of no help there, but hopefully this
way will help you some.  Personally I prefer the command line client over
the GUI anyway.  Now that I think about it, as long as your key is in the
right place and WinCVS uses the right ssh executable it should work with any
CVS client.

Hopefully I didn't leave anything out, if I did, I apologize,

Shane


Bill Stoddard wrote:
 > When you figure it out, please update the developer docs (on
 > httpd.apache.org/dev/) with the info.
 >
 > Bill
 >
 >
 >>-----Original Message-----
 >>From: Graham Leggett [mailto:minfrin@sharp.fm]
 >>Sent: Tuesday, September 10, 2002 9:51 AM
 >>To: dev@httpd.apache.org
 >>Subject: OT: CVS, SSH and Windows
 >>
 >>
 >>Hi all,
 >>
 >>I'm asking this here as there are people here who have probably got this
 >>to work, please mail me privately.
 >>
 >>I am trying to get WinCVS to connect to a CVS server via SSH. Both
 >>myself and another person have independantly followed the available docs
 >>and howtos, and have got nowhere - SSH insists on asking for a password
 >>on every connection attempt, and won't cooperate.
 >>
 >>What do Windows users here use to access CVS over SSH? Is it possible to
 >>describe what you did to make it work...?
 >>
 >>Regards,
 >>Graham
 >>--
 >>-----------------------------------------
 >>minfrin@sharp.fm		"There's a moon
 >>					over Bourbon Street
 >>						tonight..."
 >>
 >
 >




Re: CVS, SSH and Windows

Posted by Sander van Zoest <sa...@yahoo-inc.com>.
On Tue, Sep 10, 2002 at 01:18:10PM -0700, Sander Temme wrote:
> > When you figure it out, please update the developer docs (on
> > httpd.apache.org/dev/) with the info.
> >> and howtos, and have got nowhere - SSH insists on asking for a password
> >> on every connection attempt, and won't cooperate.
> You need to convince CVS to use public key authentication. Are you using the
> cygwin ssh? In that case, generate a public/private key pair using
> ssh-keygen. The private key goes (probably already is) in the ~/.ssh
> directory; copy the public key over to the ssh server and rename/append to
> ~/.ssh/authorized_keys. If you have generated ssh2 compatible keys, that
> file should be named authorized_keys2. Proof of the pudding: if you can ssh
> in without specifying password from the shell, WinCVS should be able to do
> it, too. From the shell, debug using ssh -v.

You may also want to look at using pageant (PuTTY ssh-agent), which
will authenticate pass-phrases upon startup, to allow passphraseless
login.

<http://www.chiark.greenend.org.uk/~sgtatham/putty/>

On MacOS X.2 use <http://www.opendarwin.org/~kevin/SSHAgentStartup.tar.gz>

-- 
Sander van Zoest                                          +1 (619) 881-3000
Yahoo!, Inc.                                           sander@yahoo-inc.com
<http://www.yahoo.com/>                       <http://sander.vanzoest.com/>

Re: CVS, SSH and Windows

Posted by Sander Temme <sc...@covalent.net>.
> When you figure it out, please update the developer docs (on
> httpd.apache.org/dev/) with the info.

>> and howtos, and have got nowhere - SSH insists on asking for a password
>> on every connection attempt, and won't cooperate.

You need to convince CVS to use public key authentication. Are you using the
cygwin ssh? In that case, generate a public/private key pair using
ssh-keygen. The private key goes (probably already is) in the ~/.ssh
directory; copy the public key over to the ssh server and rename/append to
~/.ssh/authorized_keys. If you have generated ssh2 compatible keys, that
file should be named authorized_keys2. Proof of the pudding: if you can ssh
in without specifying password from the shell, WinCVS should be able to do
it, too. From the shell, debug using ssh -v.

Enjoy,

S.

-- 
Covalent Technologies                             sctemme@covalent.net
Engineering group                                Voice: (415) 856 4214
303 Second Street #375 South                       Fax: (415) 856 4210
San Francisco CA 94107

   PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1

=======================================================
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
=======================================================


RE: CVS, SSH and Windows

Posted by Bill Stoddard <bi...@wstoddard.com>.
When you figure it out, please update the developer docs (on
httpd.apache.org/dev/) with the info.

Bill

> -----Original Message-----
> From: Graham Leggett [mailto:minfrin@sharp.fm]
> Sent: Tuesday, September 10, 2002 9:51 AM
> To: dev@httpd.apache.org
> Subject: OT: CVS, SSH and Windows
>
>
> Hi all,
>
> I'm asking this here as there are people here who have probably got this
> to work, please mail me privately.
>
> I am trying to get WinCVS to connect to a CVS server via SSH. Both
> myself and another person have independantly followed the available docs
> and howtos, and have got nowhere - SSH insists on asking for a password
> on every connection attempt, and won't cooperate.
>
> What do Windows users here use to access CVS over SSH? Is it possible to
> describe what you did to make it work...?
>
> Regards,
> Graham
> --
> -----------------------------------------
> minfrin@sharp.fm		"There's a moon
> 					over Bourbon Street
> 						tonight..."
>