[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: problem with CVS: Unknown response received from cvs server

Try ext instead of extssh, and create ssh keys so that Eclipse can connect to your CVS server w/o a passsword prompt.

Basically, you need to be able to ssh from your linux box to the ssh server w/o being prompted for a password. To do this, create a private/public key pair. With OpenSSH installed, you do this:

ssh-keygen -b 2048 -t rsa

Save the key under its default location, ~/.ssh/, and set no passphrase.

Once you have the public key, ~/.ssh/*.pub, ssh to the cvs server. Go into your ~/.ssh folder on that remote machine, and copy your public key's contents into ~/.ssh/authorized_keys. (If the file doesn't exist, create it.)

Then, log out and ssh back in. This time you won't be prompted for a password.

(If you are connecting from localhost to localhost, the same steps apply, except that you'll be copying your public key into your own local ~/.ssh/authorized_keys file. Looks silly, but it works.)

Nick

Lorenzo Bettini (eclipse) wrote:
Hi

I've always been using CVS access on the local machine (localhost) through ssh (extssh).

Now, on a brand new installed ubuntu and on a sabayon, I'm always getting:

Problems reported while synchronizing CVS Workspace. 0 of 1 resources were synchronized.
Unknown response received from cvs server:


on the FAQ I see that this may occur in cygwin, but I'm using Linux and never experienced that (note that the ssh server is correctly running).

Actually, the password is requested on the console (I'm starting eclipse from the command line).

Any clue please?
thanks in advance
    Lorenzo

-- Nick Boldt :: Release Engineer, IBM Toronto Lab Eclipse Modeling :: http://www.eclipse.org/modeling http://wiki.eclipse.org/index.php/User:Nickb