delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/20/20:05:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 20 May 2005 20:04:34 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Singh, Mahendra" <mahendra DOT singh AT gs DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: CVS SSH connection timeout
In-Reply-To: <8FC963540261E74C8736D5144F699560260013@gsnmp04es.firmwide.corp.gs.com>
Message-ID: <Pine.GSO.4.61.0505201956440.25058@slinky.cs.nyu.edu>
References: <8FC963540261E74C8736D5144F699560260013 AT gsnmp04es DOT firmwide DOT corp DOT gs DOT com>
MIME-Version: 1.0

---559023410-851401618-1116633874=:25058
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT

Ugh, top-posting.  Reformatted.

On Fri, 20 May 2005, Singh, Mahendra wrote:

> -----Original Message-----
> From: cygwin-owner AT XXXXXX DOT XXX [mailto:cygwin-owner AT XXXXXX DOT XXX] On Behalf Of René Berber
> Sent: Friday, May 20, 2005 6:09 PM
> To: cygwin AT XXXXXX DOT XXX

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> Subject: Re: CVS SSH connection timeout
>
> > Singh, Mahendra wrote:
> >
> > > I have installed CYGWIN on my XP box.  I have also successfully
> > > setup CVS and added various projects to it. I am attempting to allow
> > > remote users access to my CVS respositiory.  I do this by running
> > > the sshd server and allow users to connect via ssh. This was working
> > > fine a few days ago, but no, when users try to connect by specifying
> > > my Interenet IP, a connection refused occurs. I have confired that
> > > my firewall and router is allowing access to port 22. I am able to
> > > ssh to localhost.
> >
> > So this proves that sshd is running.
> >
> > > Anyone have any thoughts on why this is happening?
> >
> > Windows XP firewall, most likely.
> >
> > I had this problem, perhaps caused by testing stunnel, the solution
> > was to add (again) sshd.exe to the list of exceptions in Winblows
> > firewall settings.
> >
> > Just as a note, I'm using port forwarding at my router since my
> > computer is behind NATP.
> >
> > > Also, how can I create a group, assign users to that group and have
> > > that group be the owner of the CVS repository directories and files?
> > > I would like to try this to see if it would help. Thank you.
> >
> > Just create the user and group under windows, re-run mkpasswd and
> > mkgroup (just append the new user and group), then configure cvs to
> > use those (usually in the repository passwd file).
>
> Thanks much.  The problem was that my router had an IP filter to block
> port 22 (must have been caused by me screwing around, cause it was
> working last week)
>
> Regarding the Groups and password.  I have created a Group called
> Developers and added 3 users to it.  You mention "configure cvs to use
> those".  How do I go about doing this?  There is no password file in my
> cvs repository or any of the subdirectories under there (the repository
> is located at /home/cvsroot) .

The easiest thing to do would be to make the CVS repository owned by the
Developers group, with the setgid flag set (i.e., "chmod g+s"), readable
and writeable to the group.  Then any user that belongs to the Developers
group should be able to ssh in and access the repository (using the :ext:
method with ssh).

The cvs passwd is used in the :pserver: method, which you probably don't
want to use.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

---559023410-851401618-1116633874=:25058
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
---559023410-851401618-1116633874=:25058--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019