public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* how to allow connections from another host to cygwin
@ 2013-07-01 22:15 markov
  2013-07-01 23:08 ` Dan Kegel
  0 siblings, 1 reply; 5+ messages in thread
From: markov @ 2013-07-01 22:15 UTC (permalink / raw)
  To: cygwin

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



--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to allow connections from another host to cygwin
  2013-07-01 22:15 how to allow connections from another host to cygwin markov
@ 2013-07-01 23:08 ` Dan Kegel
  2013-07-02  0:34   ` Christopher Faylor
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Kegel @ 2013-07-01 23:08 UTC (permalink / raw)
  To: cygwin; +Cc: markov

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to allow connections from another host to cygwin
  2013-07-01 23:08 ` Dan Kegel
@ 2013-07-02  0:34   ` Christopher Faylor
  2013-07-02  2:07     ` Dan Kegel
  2013-07-02  8:19     ` Corinna Vinschen
  0 siblings, 2 replies; 5+ messages in thread
From: Christopher Faylor @ 2013-07-02  0:34 UTC (permalink / raw)
  To: cygwin

On Mon, Jul 01, 2013 at 04:08:11PM -0700, Dan Kegel wrote:
>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.

If you've followed this mailing list for any length of time you'd notice
that we don't really endorse the instructions from random other web
sites.  They are often out-of-date and contain needless instructions.
This web site is no exception.  The CYGWIN= suggestion is wrong.

Just use the instructions from /usr/share/doc/Cygwin/openssh.README

Btw, Corinna, this file suggests setting ntsec.  That likely should
just be deleted.

cgf

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to allow connections from another host to cygwin
  2013-07-02  0:34   ` Christopher Faylor
@ 2013-07-02  2:07     ` Dan Kegel
  2013-07-02  8:19     ` Corinna Vinschen
  1 sibling, 0 replies; 5+ messages in thread
From: Dan Kegel @ 2013-07-02  2:07 UTC (permalink / raw)
  To: cygwin

On Mon, Jul 1, 2013 at 5:34 PM, Christopher Faylor wrote:
> If you've followed this mailing list for any length of time you'd notice
> that we don't really endorse the instructions from random other web
> sites.  They are often out-of-date and contain needless instructions.

What's the prevailing thought on a wiki (presumably one
set up like the glibc one, by invite only, to avoid spammers)?
I found various posts on this list over the years, but no
obvious interest.

> Just use the instructions from /usr/share/doc/Cygwin/openssh.README

That file is not very easily discovered (despite the FAQ entry
that explains that convention).   Can you add a link to
an static index of all those files from http://cygwin.com/docs.html ?
That might make googling
  openssh server cygwin
more likely to find it.

Hrmph, just found http://sshwindows.sourceforge.net/
That just seems wrong...

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to allow connections from another host to cygwin
  2013-07-02  0:34   ` Christopher Faylor
  2013-07-02  2:07     ` Dan Kegel
@ 2013-07-02  8:19     ` Corinna Vinschen
  1 sibling, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2013-07-02  8:19 UTC (permalink / raw)
  To: cygwin

On Jul  1 20:34, Christopher Faylor wrote:
> On Mon, Jul 01, 2013 at 04:08:11PM -0700, Dan Kegel wrote:
> >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.
> 
> If you've followed this mailing list for any length of time you'd notice
> that we don't really endorse the instructions from random other web
> sites.  They are often out-of-date and contain needless instructions.
> This web site is no exception.  The CYGWIN= suggestion is wrong.
> 
> Just use the instructions from /usr/share/doc/Cygwin/openssh.README
> 
> Btw, Corinna, this file suggests setting ntsec.  That likely should
> just be deleted.

Wow, thank for the reminder.  I didn't change that file for ages.

I ripped off any unneeded stuff now and only describe how to set up the
host and user config, as well as how to build with cygport.

I sent a patch upstream, so this will be available in the next OpenSSH
version.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-02  8:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-01 22:15 how to allow connections from another host to cygwin markov
2013-07-01 23:08 ` Dan Kegel
2013-07-02  0:34   ` Christopher Faylor
2013-07-02  2:07     ` Dan Kegel
2013-07-02  8:19     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).