Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 14:03:49 -0400
From:      "Dan Langille" <dan@langille.org>
To:        freebsd-questions@freebsd.org
Subject:   remote cvs access
Message-ID:  <200106281803.f5SI3q849045@lists.unixathome.org>

next in thread | raw e-mail | index | archive | help
I'm trying to setup a box so it can access a remote repository.  I'm 
getting stuck.  On the repository box, I keep seeing this message:

sshd[12614]: error: connect ::1 port 2401: Connection refused

I'm using an ssh tunnel for my connection:

ssh -L 2401:localhost:2401 cvsup.example.org

Things appear to be working on the repo box:
[dan@xeon:~] $ telnet localhost 2401
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

And on the remote box, the tunnel appears to be working:

$ telnet localhost 2401
Trying ::1...
Connected to localhost.
Escape character is '^]'.
kljkl
cvs [pserver aborted]: bad auth protocol start: kljkl

Connection closed by foreign host.

CVSROOT is set on the box:

[dan@dev:~] $ export | grep CVSROOT
declare -x CVSROOT=":pserver:dan@localhost:/usr/local/cvs"

But attempts to connect give:

$ cvs login
(Logging in to dan@localhost)
CVS password:
cvs login: authorization failed: server localhost rejected access to 
/usr/local/cvs for user dan

The only other thing I can think of is /usr/local/cvs/CVSROOT/passwd, 
which I've checked many times to make sure it contains a password I 
know...

Clues please.

-- 
Dan Langille
pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106281803.f5SI3q849045>