info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS server set up


From: Mark Priest
Subject: Re: CVS server set up
Date: Tue, 4 Nov 2003 22:05:42 -0500

Krishna,

I realized that didn't make sense after I sent it.  Sorry about that.  If
you are using plink you can pass the location of the private key file with
the -i argument to plink.  This is the same argument you would pass to ssh.
Of course, you would need to have the key in the Putty format.  If it is not
already then you can read it in with Puttygen and then save it out in Putty
format.

If you want plink to work with cvs then I suggest you create a saved session
in Putty and then reference the session from plink.  When you save the Putty
session make sure you specified you are using a private key under
Connection/SSH/Auth in the tree to the left in the Putty main window (use
the Browse button to find your private key file).   If you set your CVSROOT
to use the session name then it will work automatically. I believe you can
look at the Putty documentation for this.  In my case the saved Putty
session is called "cvssession".  So I set my CVSROOT environment variable to

:ext:cvssession:/cvs

This tells cvs to connect using the program referenced by CVS_RSH and pass
it the value of cvsession to access a cvs repository located at /cvs on the
server.  Plink will know how to access the session from the Windows registry
by name.

Note: You should include the cvs list on your posts so that others can
benefit from the discussion.

Good Luck,
Mark

----- Original Message ----- 
From: "Krishna Arya" <address@hidden>
To: "Mark Priest" <address@hidden>
Sent: Tuesday, November 04, 2003 3:06 PM
Subject: Re: CVS server set up


>
> Hey Mark,
>
>   Thank you for your email...
>
> "On the client side the private key should
> be stored in ~/.ssh/id_rsa"
>
>  In your email you mentioned that the private key
> should be stored in the above directory.
>
>  I am using windows operating system on the client
> side so where should I store the id_rsa key on windows
> though, this point is not clear to me...
>
> Thank you very much for any ideas,
>
> Vijayram..
>
> --- Mark Priest <address@hidden> wrote:
> > Krishna,
> >
> > The error message indicates that your cvs client is
> > configured to use rsh
> > instead of ssh.  You will need to set the CVS_RSH
> > environment variable to
> > point to the ssh client executable (i.e. set
> > CVS_RSH=plink).  You should use
> > plink instead of Putty (available from the same
> > website) since you want a
> > command line ssh connection.  On the client side the
> > private key should be
> > stored in ~/.ssh/id_rsa or ~/.ssh/id_dsa depending
> > on whether it is a rsa or
> > dsa key.  It must be in the correct format for the
> > version of ssh you are
> > using and the implementation that you are using (it
> > is different for
> > OpenSSH, ssh.com, etc).  You should test the ssh
> > connection without cvs
> > first to make sure that it is configured correctly.
> >  Also, you will need to
> > add the cvs server public key to your known_hosts
> > file.  The easiest way to
> > do this is to connect once with Putty to the ssh
> > server and just select 'y'
> > when it asks you to add the host to your known_hosts
> > file (in
> > ~/.ssh/known_hosts).
> >
> > Good luck,
> > Mark
> >
> > ----- Original Message ----- 
> > From: "Krishna Arya" <address@hidden>
> > To: <address@hidden>
> > Sent: Monday, November 03, 2003 6:59 PM
> > Subject: CVS server set up
> >
> >
> > > Dear Mr.Mark,
> > >
> > >   I am trying to set up CVS server using SSH
> > protocol.
> > > I was following your steps chalked on a CVS
> > > configuration reply.
> > >
> > >  I am using WinCVS on the client side to connect
> > to
> > > the CVS server. These are the steps I did,
> > >
> > >  - generated the private key, I stored in the
> > server
> > > under ~/.ssh2/authorization directory.
> > >   I did not understand where to store this key on
> > the
> > > client side.
> > >
> > > - I configured putty.exe to connect to the server
> > via
> > > ssh2.
> > >
> > > I executed the command to checkout a project from
> > the
> > > repository but I am getting this error,
> > >
> > > "cvs [checkout aborted]: cannot start server via
> > rsh:
> > > No such file or directory"
> > >
> > > I checked the repository path given and it is
> > correct
> > > and the project specified does exist in the
> > > repository.
> > >
> > > Could you help me with any suggestions as to where
> > I
> > > could possibly going wrong..
> > >
> > > Thanks,
> > > Vijayram.
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Exclusive Video Premiere - Britney Spears
> > > http://launch.yahoo.com/promos/britneyspears/
> > >
> >
> >
>
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree






reply via email to

[Prev in Thread] Current Thread [Next in Thread]