This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to allow connections from another host to cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]