X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type; q=dns; s=default; b=
	juSyBC+t4RrxJCZE6s+KyJPsbDKavjUZ9BKN2UrSVOuZtZobkBLetRvmggIiA+Mu
	vLDHa9Em0uL8Sg8in7Lp74wtSQ8MlvF/CmLP6Jk/eU/eM55CO4+9j9YN4zezIO53
	Iww1hYntSP15JbnD3MqsxVE9mhih//hl8OYt/LLwhI0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type; s=default; bh=b8F+D
	lBkwIRKQx5Idl0k71Zw77s=; b=E0elRZmvT+eSemUUp7WC2cZljMbRNwuxH33Eb
	zIpQ9veA8in3x3xH6TWpcp5bTV3yxCzjng2wNcfaa5LGsxwb9fCQN0zxF3SNTyvP
	ZWg1UlmNfy9CMgjskiHD33Nx/4WPmL6Mo0AZ0CGhWp42kBpm2Zo3s+y5tZ0ZzeVu
	DYyGS8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.112.133.137 with SMTP id pc9mr12381771lbb.27.1372720091775; Mon, 01 Jul 2013 16:08:11 -0700 (PDT)
In-Reply-To: <loom.20130701T233307-339@post.gmane.org>
References: <loom.20130701T233307-339@post.gmane.org>
Date: Mon, 1 Jul 2013 16:08:11 -0700
Message-ID: <CAPF-yOYQ0Aq1LKshm2r_LKmne+BG_tM9R5XHs7Zgw7ctsYLHbw@mail.gmail.com>
Subject: Re: how to allow connections from another host to cygwin
From: Dan Kegel <dank@kegel.com>
To: cygwin@cygwin.com
Cc: markov@mail.com
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 1, 2013 at 2:34 PM, markov  wrote:
> I am trying to connect a client program running on unix to a server
> program running on cygwin without success. I also tried to connect from
> unix to cygwin with ssh, ftp, ... but without success as well. When I
> looked on net, it says that I first have to allow hostname or ip-address
> in xorg-conf (equivalent file) of the remote host to be connected. is
> there any idea about this issue? Thanks in advance for your help

For ssh, have you seen e.g.
http://www.noah.org/ssh/cygwin-sshd.html
?  I haven't done that in a long time, but have
used cygrunsrv to run a buildbot server in cygwin for some time.

The line I use to create a service is:
        # Must use "run as administrator" to run the cygwin terminal
that runs this script!
        cygrunsrv -I buildmaster-$projname --path /bin/sh --args
"$SRC/bmaster.sh run $projname"

I didn't have to do anything funny with networking.
- Dan

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

