[NTLUG:Discuss] Can't login to CVS pserver over SSH tunnel

Neil Aggarwal neil at JAMMConsulting.com
Fri Feb 1 10:56:48 CST 2002


Hello:

I am trying to follow the instructions posted at
http://www.prima.eu.org/tobez/cvs-howto.html
to set up a CVS pserver tunnelled over SSH.

My server is Linux, so I adapted the server configuration
from the instructions.  I am attaching the commands that
I executed in case you need them as a reference.


I am using a Windows 2000 machine as a client.
It has the cygwin package with perl, regex, cvs, and ssh installed on it.

To test the configuration, I went to a DOS prompt,
changed the directory to C:\cygwin\bin, and executed
this command:
  ssh cvs at dev.jammconsulting.com -L 2401:dev.jammconsulting.com:2410 open

I got these messages:
Could not create directory '/home/Neil Aggarwal/.ssh'.
The authenticity of host 'dev.jammconsulting.com (204.130.252.205)' can't be
established.
RSA key fingerprint is 77:12:5a:f6:36:c3:40:e7:e8:cc:69:f4:31:7b:f9:13.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/Neil
Aggarwal/.ssh/known_hosts).
/tmp/filexbkPbz

I checked on the server and there is this file in /tmp
prw-------    1 cvs      cvs             0 Jan 31 23:33 filexbkPbz

So, despite the error messages, it seems like this step has completed
successfully.

I then loaded another DOS prompt, changed the directory to c:\cygwin\bin,
and executed:
  cvs -d :pserver:neil at localhost:/testproject login

I got this message:
(Logging in to neil at localhost)
CVS password:

When I typed in the password, I get this message:
cvs [login aborted]: recv() from server localhost: Connection reset by peer

Can anyone offer any help?

Thanks,
	Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.    (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development    Websites, Ecommerce, Java, databases





More information about the Discuss mailing list