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

Neil Aggarwal neil at JAMMConsulting.com
Sun Feb 3 13:13:59 CST 2002


MadHat:

I tried it in the bash shell and it acts the same:

$ ssh cvs at dev.jammconsulting.com -L 2401:dev.jammconsulting.com:2410 open
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/filezIR4z5

$ cvs -d :pserver:neil at localhost:/testproject login
(Logging in to neil at localhost)
CVS password:
cvs [login aborted]: recv() from server localhost: Connection reset by peer

Any other ideas?

Thanks,
	Neil.

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

> -----Original Message-----
> From: discuss-admin at ntlug.org [mailto:discuss-admin at ntlug.org]On Behalf
> Of MadHat
> Sent: Sunday, February 03, 2002 12:59 PM
> To: discuss at ntlug.org
> Subject: Re: [NTLUG:Discuss] Can't login to CVS pserver over SSH tunnel
>
>
> The problem is with cygwin, and the fact that you are "opening a DOS
> prompt".  Use the Cygwin short-cut added when it was installed to launch
> a bash shell, otherwise it won't work properly, as the env variables
> won't be initiated properly.
>
>
> On Fri, 2002-02-01 at 10:56, Neil Aggarwal wrote:
> > 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
> >
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
> --
> MadHat at Unspecific.com
> gpg --keyserver wwwkeys.us.pgp.net --recv-keys 9DDC3E98
> Key fingerprint = E786 7B30 7534 DCC2 94D5  91DE E922 0B21 9DDC 3E98
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss





More information about the Discuss mailing list