Menu

#1 Possible bug?

open
nobody
None
5
2005-06-06
2005-06-06
Anonymous
No

I am a longtime user of ccvssh, however, recently, I've
been having trouble installing. This may be related to
my deployment and not a true bug.

However, here is problem I have had for some time and
changes to resolve:

ccvssh version: 0.9.1
version: Linux version 2.6.11-1.27_FC3
(bhcompile@porky.build.redhat.com) (gcc version 3.4.3
20050227 (Red Hat 3.4.3-22)) #1 Tue May 17 20:27:37 EDT
2005

with the default build, I used the following (changing
my actual data, of course):

setenv CVSROOT
:ext:myname@myserver.com:/user/local/cvs/path
setenv CVS_RSH ccvssh

"ccvssh login" will work fine and correctly authenticate me
but when I run any cvs command, I get:

Password for
`:pserver:myserver.com@-l:2405/usr/local/cvs/path' not
found!
cvs [checkout aborted]: end of file from server
(consult above messages if any)

It's not picking up the ext and is jumbling my settings:

My fix was
diff -r ccvssh-0.9.1/src/ccvssh.c
myccvssh-0.9.1/src/ccvssh.c
645c645
< sprintf(cannonical_cvsroot, ":pserver:%s@%s:%s%s",
---
> sprintf(cannonical_cvsroot, ":ext:%s@%s:%s%s",
1076,1077c1076,1077
< server = argv[1];
< username = argv[3];
---
> server = argv[3];
> username = argv[2];

Again, I don't know if this is best fix, but it made
your software work on my system.

Discussion

  • Nobody/Anonymous

    Configure and make outputs

     
  • Nobody/Anonymous

    Logged In: NO

    I forgot to mention, here's my version of CVS:
    Concurrent Versions System (CVS) 1.11.17 (client/server)

    Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
    Jeff Polk, and other authors

    CVS may be copied only under the terms of the GNU General
    Public License,
    a copy of which can be found with the CVS distribution kit.

    Specify the --help option for further information about CVS

     
  • Patrick Farrell

    Patrick Farrell - 2005-06-06

    Logged In: YES
    user_id=1292207

    One more thing... Sorry for the flood. I am the user who
    submitted this bug. Apparently wasn't logged in when I
    submitted last two notes

     
  • Nobody/Anonymous

    Logged In: NO

    Hi, I had the same problem, and your fix worked for me, too.
    My CVS version:
    Concurrent Versions System (CVS) 1.12.12 (client/server)

    In my case the CVS_RSH program gets called by cvs with the
    parameters as follows:
    -l <username> <hostname> cvs server

     

Log in to post a comment.