From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6801 invoked by alias); 1 Jul 2013 23:08:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6792 invoked by uid 89); 1 Jul 2013 23:08:16 -0000 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 Received: from mail-lb0-f175.google.com (HELO mail-lb0-f175.google.com) (209.85.217.175) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 01 Jul 2013 23:08:14 +0000 Received: by mail-lb0-f175.google.com with SMTP id r10so2880824lbi.34 for ; Mon, 01 Jul 2013 16:08:11 -0700 (PDT) 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) Received: by 10.112.92.5 with HTTP; Mon, 1 Jul 2013 16:08:11 -0700 (PDT) In-Reply-To: References: Date: Mon, 01 Jul 2013 23:08:00 -0000 Message-ID: Subject: Re: how to allow connections from another host to cygwin From: Dan Kegel To: cygwin@cygwin.com Cc: markov@mail.com Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-07/txt/msg00010.txt.bz2 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