Slashdot Mirror


Setting up SSH-Based CVS in Windows?

cromacks asks: "I am trying to set up CVS on my Windows 2000 machine so that I can checkout repositories from our server. As far as I know, it uses ssh authentication, and that seems to be giving me the problems. I'm using cvs from cvshome.org through my command line, and I have already set my environment variables (HOME, CVSROOT, and CVS_RSH=c:\WINNT\plink). The problem is, when i go to do the checkout, i receive the following error: ' from cvs serverning: unrecognized response 'cromacks@cs.bc.edu's password: it repeats that line until I Ctrl-c. Any suggestions?"

5 of 44 comments (clear)

  1. If only... by tps12 · · Score: 4, Funny

    ...there were a CVS mailing list that could field questions like these. Or a site where you could search the web for answers to similar questions.

    Well, I can dream, can't I?

    --

    Karma: Good (despite my invention of the Karma: sig)
  2. cygwin. by Mandrake · · Score: 5, Informative
    it's all about Cygwin. go to the cygwin site and download and run their setup.exe program ... you should pick and choose ssh, openssl, and cvs. that's what I've done to link together the few windows development machines I'm having to use at work with the rest of our development network via cvs. be aware that if you're using something like visual studio, etc, they hold read locks so you have to close the projects / workspaces / etc before cvs will read / write those files.

    Cygwin will also set up a bash shell for you. then you can just set all your appropriate environment variables in your .bash_profile, etc, as normal, and use cvs from within the cygwin bash shell. maybe this isn't exactly the solution you were looking for but it's what we've been using here and it seems to work okay.

    --
    Geoff "Mandrake" Harrison
    Some Random UI Hacker
  3. Ugh by photon317 · · Score: 4, Insightful


    wtf isup with Ask Slashdot lately? These kinds of questions belong in mailing lists, newsgroups, and webforums that are specifically targetted at supporting these products.

    Ask Slashdot should be about Big questions, questions that matter to large fractions of the geek population, questions that are very hard to answer, questions that deal more in the theory of things than in a technical answer to a specific problem.

    What amounts to a tech support request for CVS on Win2k doesn't belong here on the front page of slashdot, and this is only the most recent ina string of bad Ask Slashdots.

    --
    11*43+456^2
  4. MAJORDOMO-ASKSLASHDOT.SLASHDOT.ORG by stienman · · Score: 5, Funny

    unsubscribe slashdot-ssh_on_windows stienman@slashdot.org
    end

  5. Re:a note about cygwin and CVS_RSH by Mandrake · · Score: 5, Informative

    no, actually it's not a bug at all. when you run a shell script, unless you run it like:

    . my_shell_script

    it in fact runs a completely seperate subshell.

    --
    Geoff "Mandrake" Harrison
    Some Random UI Hacker