public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sshd on win2k [revisit]
@ 2001-04-30 10:43 Harry Putnam
  2001-04-30 11:34 ` more info on cvs Heitzso
  2001-04-30 12:06 ` sshd on win2k [revisit] Dmitrii Pasechnik
  0 siblings, 2 replies; 13+ messages in thread
From: Harry Putnam @ 2001-04-30 10:43 UTC (permalink / raw)
  To: cygwin

Its been a while since I checked on the availability of packages that
installs sshd on a win2k.

Is it still amatter of tinkering or is there a package out that just
installs it, and allows win2k to run a sshd daemon?

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* more info on cvs
  2001-04-30 10:43 sshd on win2k [revisit] Harry Putnam
@ 2001-04-30 11:34 ` Heitzso
  2001-04-30 12:45   ` Charles Wilson
  2001-04-30 13:07   ` Christopher Faylor
  2001-04-30 12:06 ` sshd on win2k [revisit] Dmitrii Pasechnik
  1 sibling, 2 replies; 13+ messages in thread
From: Heitzso @ 2001-04-30 11:34 UTC (permalink / raw)
  To: egcs; +Cc: cygwin

After reading FAQ/Doc I'm noting that goal of Cygwin is
for all programs to run under cmd.exe with backslashed file names
just fine.

I assume that cvs code needs a patch to convert
backslashed names to forward slashes or to
change the test in last_component() to find
backward as well as forward slashes.

Note I'm not the cvs cygwin maintainer.
I emailed the maintainer awhile ago
and haven't heard back.

Should I go into cvs tree and dig out
cvs patch code and get setup to alter
the cvs cygwin patch?

Thanks,
Heitzso


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: sshd on win2k [revisit]
  2001-04-30 10:43 sshd on win2k [revisit] Harry Putnam
  2001-04-30 11:34 ` more info on cvs Heitzso
@ 2001-04-30 12:06 ` Dmitrii Pasechnik
  2001-04-30 13:07   ` Charles Wilson
  1 sibling, 1 reply; 13+ messages in thread
From: Dmitrii Pasechnik @ 2001-04-30 12:06 UTC (permalink / raw)
  To: cygwin

On 30 Apr 2001, Harry Putnam wrote:
>
>Its been a while since I checked on the availability of packages that
>installs sshd on a win2k.
>
>Is it still amatter of tinkering or is there a package out that just
>installs it, and allows win2k to run a sshd daemon?
>
it is still quite far from automatic.
As you know, there are two separate problems there:
1) giving  the right permissions to the users;
2) installing sshd as a service.

Regarding 2), I saw at least one GPL-ed program that happily
installs and manages itself as a service, etc, namely WinVNC
(see http://www.uk.research.att.com/vnc/ )
It most probably could be used as a code sample to build
such a thing for sshd.
 
Could be a nice project for a student, or for someone with a knowledge of
Win32 registry programming...

-- 
Dmitrii Pasechnik
e-mail: d.pasechnik@twi.tudelft.nl 
http://ssor.twi.tudelft.nl/~dima/


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: more info on cvs
  2001-04-30 11:34 ` more info on cvs Heitzso
@ 2001-04-30 12:45   ` Charles Wilson
  2001-04-30 13:49     ` Christopher Faylor
  2001-04-30 15:17     ` Charles Wilson
  2001-04-30 13:07   ` Christopher Faylor
  1 sibling, 2 replies; 13+ messages in thread
From: Charles Wilson @ 2001-04-30 12:45 UTC (permalink / raw)
  To: Heitzso; +Cc: cygwin

Technically, I think the cvs protocol itself expects that paths are
specified using backslash.  However, certain implementations/ports of
cvs to native windows have relaxed that, so that Windows users can use
"normal" backslashes when specifying pathnames.  Then, netbeans/forte
took that laxness as license (or perhaps the developers at Sun just
said, "Hey, windows -- paths have backslashes -- okay, we'll do that
too")

What we're left with is this: we can either (a) limit pathnames to using
only '/' as specified by the spec (which also, BTW, explicitly *allows*
'\' as a normal char in a filename !!!), or (b) violate the spec and
adapt cvs on cygwin to explicitly convert '\' to '/' every time.

The problem is, some remote system to which your local cygwin-cvs client
talks, might have a file with a *legal* name containing '\'.  What do we
do then?

I'm in favor of (b), and treat the "problem" above as another
windows-ism (like the fact that "aux" is an illegal name on windows but
is FINE everywhere else on the planet...)

--Chuck

P.S. Sorry for being slow to respond, Heitzso, but I've been very busy
with (a) my job (b) cygwin release 1.3.0^H1, (c) ncurses release 5.2-5
lately. :-)  I "maintain" about 20 packages and it's getting to be
pretty overwhelming...

Heitzso wrote:
> 
> After reading FAQ/Doc I'm noting that goal of Cygwin is
> for all programs to run under cmd.exe with backslashed file names
> just fine.
> 
> I assume that cvs code needs a patch to convert
> backslashed names to forward slashes or to
> change the test in last_component() to find
> backward as well as forward slashes.
> 
> Note I'm not the cvs cygwin maintainer.
> I emailed the maintainer awhile ago
> and haven't heard back.
> 
> Should I go into cvs tree and dig out
> cvs patch code and get setup to alter
> the cvs cygwin patch?
> 
> Thanks,
> Heitzso
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: sshd on win2k [revisit]
  2001-04-30 12:06 ` sshd on win2k [revisit] Dmitrii Pasechnik
@ 2001-04-30 13:07   ` Charles Wilson
  2001-05-02  6:22     ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Charles Wilson @ 2001-04-30 13:07 UTC (permalink / raw)
  To: Dmitrii Pasechnik; +Cc: cygwin

Dmitrii Pasechnik wrote:
> 
> On 30 Apr 2001, Harry Putnam wrote:
> >
> >Its been a while since I checked on the availability of packages that
> >installs sshd on a win2k.
> >
> >Is it still amatter of tinkering or is there a package out that just
> >installs it, and allows win2k to run a sshd daemon?
> >
> it is still quite far from automatic.
> As you know, there are two separate problems there:
> 1) giving  the right permissions to the users;
> 2) installing sshd as a service.
> 
> Regarding 2), I saw at least one GPL-ed program that happily
> installs and manages itself as a service, etc, namely WinVNC
> (see http://www.uk.research.att.com/vnc/ )
> It most probably could be used as a code sample to build
> such a thing for sshd.

Corinna's version of inetd also does this.  I (actually not me, but I
was an accessory to the crime) stole that code for ipc-daemon and now IT
does this too.  The problem, IIRC, is that Corinna is trying to keep the
OpenSSH code as close to the official version as possible -- thus, most
changes are submitted right back to the openSSH people for official
inclusion.

But the strange hacks necessary for windows service installation are
meeting with, err, resistance.  So, either we maintain an official but
external patch, or we just continue status quo.

Is that about right, Corinna?

> Could be a nice project for a student, or for someone with a knowledge of
> Win32 registry programming...

--Chuck

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: more info on cvs
  2001-04-30 11:34 ` more info on cvs Heitzso
  2001-04-30 12:45   ` Charles Wilson
@ 2001-04-30 13:07   ` Christopher Faylor
  1 sibling, 0 replies; 13+ messages in thread
From: Christopher Faylor @ 2001-04-30 13:07 UTC (permalink / raw)
  To: cygwin

On Mon, Apr 30, 2001 at 02:29:35PM -0400, Heitzso wrote:
>After reading FAQ/Doc I'm noting that goal of Cygwin is for all
>programs to run under cmd.exe with backslashed file names just fine.

Cygwin does work fine with backslashed file names.  This does not mean
that individual utilities understand backslashed file names.  If the
utility comes from UNIX it is unlikely that it will handle backslashed
filenames correctly.

We don't guarantee that every package maintainer will take the
not-insubstantial amount of time required to adapt a package to MS-DOS
pathnames.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: more info on cvs
  2001-04-30 12:45   ` Charles Wilson
@ 2001-04-30 13:49     ` Christopher Faylor
  2001-04-30 15:17     ` Charles Wilson
  1 sibling, 0 replies; 13+ messages in thread
From: Christopher Faylor @ 2001-04-30 13:49 UTC (permalink / raw)
  To: cygwin

On Mon, Apr 30, 2001 at 03:48:32PM -0400, Charles Wilson wrote:
>Technically, I think the cvs protocol itself expects that paths are
>specified using backslash.  However, certain implementations/ports of
>cvs to native windows have relaxed that, so that Windows users can use
>"normal" backslashes when specifying pathnames.  Then, netbeans/forte
>took that laxness as license (or perhaps the developers at Sun just
>said, "Hey, windows -- paths have backslashes -- okay, we'll do that
>too")
>
>What we're left with is this: we can either (a) limit pathnames to using
>only '/' as specified by the spec (which also, BTW, explicitly *allows*
>'\' as a normal char in a filename !!!), or (b) violate the spec and
>adapt cvs on cygwin to explicitly convert '\' to '/' every time.
>
>The problem is, some remote system to which your local cygwin-cvs client
>talks, might have a file with a *legal* name containing '\'.  What do we
>do then?
>
>I'm in favor of (b), and treat the "problem" above as another
>windows-ism (like the fact that "aux" is an illegal name on windows but
>is FINE everywhere else on the planet...)
>
>--Chuck
>
>P.S. Sorry for being slow to respond, Heitzso, but I've been very busy
>with (a) my job (b) cygwin release 1.3.0^H1, (c) ncurses release 5.2-5
>lately. :-)  I "maintain" about 20 packages and it's getting to be
>pretty overwhelming...

I'd actually be in favor of the "do nothing since it isn't broken"
scenario.

While the Cygwin DLL does try to do the right thing with MS-DOS paths I
don't see any urgent need to adapt every tool that comes with Cygwin to
do the same.  The point of Cygwin is that it is supposed to provide a
UNIX environment.  I certainly don't want to see package maintainers
spending their precious time fiddling with sources to accomodate MS-DOS
(IMO) brain-damage.

Whether you do take time to do this is, of course, up to you Chuck.
I appreciate your maintainership very much but I don't want to add
to your burden unduly.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: more info on cvs
  2001-04-30 12:45   ` Charles Wilson
  2001-04-30 13:49     ` Christopher Faylor
@ 2001-04-30 15:17     ` Charles Wilson
  1 sibling, 0 replies; 13+ messages in thread
From: Charles Wilson @ 2001-04-30 15:17 UTC (permalink / raw)
  To: Heitzso, cygwin

Charles Wilson wrote:
> 
> Technically, I think the cvs protocol itself expects that paths are
> specified using backslash.  However, certain implementations/ports of
                  ^^^^^^^^^
        I meant, forward slash. '/'

--Chuck

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: sshd on win2k [revisit]
  2001-04-30 13:07   ` Charles Wilson
@ 2001-05-02  6:22     ` Corinna Vinschen
  2001-05-02  6:58       ` Michael Erdely
  0 siblings, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2001-05-02  6:22 UTC (permalink / raw)
  To: cygwin

On Mon, Apr 30, 2001 at 04:10:40PM -0400, Charles Wilson wrote:
> Dmitrii Pasechnik wrote:
> > 
> > On 30 Apr 2001, Harry Putnam wrote:
> > >
> > >Its been a while since I checked on the availability of packages that
> > >installs sshd on a win2k.
> > >
> > >Is it still amatter of tinkering or is there a package out that just
> > >installs it, and allows win2k to run a sshd daemon?
> > >
> > it is still quite far from automatic.
> > As you know, there are two separate problems there:
> > 1) giving  the right permissions to the users;
> > 2) installing sshd as a service.
> > 
> > Regarding 2), I saw at least one GPL-ed program that happily
> > installs and manages itself as a service, etc, namely WinVNC
> > (see http://www.uk.research.att.com/vnc/ )
> > It most probably could be used as a code sample to build
> > such a thing for sshd.
> 
> Corinna's version of inetd also does this.  I (actually not me, but I
> was an accessory to the crime) stole that code for ipc-daemon and now IT
> does this too.  The problem, IIRC, is that Corinna is trying to keep the
> OpenSSH code as close to the official version as possible -- thus, most
> changes are submitted right back to the openSSH people for official
> inclusion.
> 
> But the strange hacks necessary for windows service installation are
> meeting with, err, resistance.  So, either we maintain an official but
> external patch, or we just continue status quo.
> 
> Is that about right, Corinna?

Yep. And since I have no problems to install sshd as a service in about
5 minutes I'm suffering an extrem letargy to change that. Personally
I hate the special service code. I'm very happy with the SRVANY solution.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* RE: sshd on win2k [revisit]
  2001-05-02  6:22     ` Corinna Vinschen
@ 2001-05-02  6:58       ` Michael Erdely
  0 siblings, 0 replies; 13+ messages in thread
From: Michael Erdely @ 2001-05-02  6:58 UTC (permalink / raw)
  To: cygwin

Especially since Karl found the "-D" switch and you can stop the service
now too!

-ME

-----Original Message-----
From: cygwin-owner@sources.redhat.com
[ mailto:cygwin-owner@sources.redhat.com ] On Behalf Of Corinna Vinschen
Sent: Wednesday, May 02, 2001 9:23 AM
To: cygwin@cygwin.com
Subject: Re: sshd on win2k [revisit]

<snip>

Yep. And since I have no problems to install sshd as a service in about
5 minutes I'm suffering an extrem letargy to change that. Personally I
hate the special service code. I'm very happy with the SRVANY solution.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* RE: sshd on win2k [revisit]
@ 2001-05-03  0:45 Morrison, John
  0 siblings, 0 replies; 13+ messages in thread
From: Morrison, John @ 2001-05-03  0:45 UTC (permalink / raw)
  To: 'Corinna Vinschen'

Apologies.

> -----Original Message-----
> From: Corinna Vinschen [ mailto:cygwin@cygwin.com ]
> Sent: 02 May 2001 5:33 pm
> To: cygwin
> Subject: Re: sshd on win2k [revisit]
> 
> 
> On Wed, May 02, 2001 at 03:44:05PM +0100, Morrison, John wrote:
> > Would you be kind enough to update the doc's 
> (openssh-2.5.2p2.README) as to
> > where and how to use the -D switch?  Any instructions on 
> getting SSH to run
> > (ie, step by step ensure user rights, type this for svrany 
> etc) would be
> > much appreciated by everyone.
> 
> http://cygwin.com/ml/cygwin/2001-04/msg01691.html
> 
> Corinna
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: sshd on win2k [revisit]
  2001-05-02  7:44 Morrison, John
@ 2001-05-02  9:33 ` Corinna Vinschen
  0 siblings, 0 replies; 13+ messages in thread
From: Corinna Vinschen @ 2001-05-02  9:33 UTC (permalink / raw)
  To: cygwin

On Wed, May 02, 2001 at 03:44:05PM +0100, Morrison, John wrote:
> Would you be kind enough to update the doc's (openssh-2.5.2p2.README) as to
> where and how to use the -D switch?  Any instructions on getting SSH to run
> (ie, step by step ensure user rights, type this for svrany etc) would be
> much appreciated by everyone.

http://cygwin.com/ml/cygwin/2001-04/msg01691.html

Corinna

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* RE: sshd on win2k [revisit]
@ 2001-05-02  7:44 Morrison, John
  2001-05-02  9:33 ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Morrison, John @ 2001-05-02  7:44 UTC (permalink / raw)
  To: 'Michael Erdely'

Would you be kind enough to update the doc's (openssh-2.5.2p2.README) as to
where and how to use the -D switch?  Any instructions on getting SSH to run
(ie, step by step ensure user rights, type this for svrany etc) would be
much appreciated by everyone.

John.

> -----Original Message-----
> From: Michael Erdely [ mailto:cygwin@cygwin.com ]
> Sent: 02 May 2001 2:58 pm
> To: cygwin@cygwin.com
> Subject: RE: sshd on win2k [revisit]
> 
> 
> Especially since Karl found the "-D" switch and you can stop 
> the service
> now too!
> 
> -ME
> 
> -----Original Message-----
> From: cygwin-owner@sources.redhat.com
> [ mailto:cygwin-owner@sources.redhat.com ] On Behalf Of Corinna Vinschen
> Sent: Wednesday, May 02, 2001 9:23 AM
> To: cygwin@cygwin.com
> Subject: Re: sshd on win2k [revisit]
> 
> <snip>
> 
> Yep. And since I have no problems to install sshd as a 
> service in about
> 5 minutes I'm suffering an extrem letargy to change that. Personally I
> hate the special service code. I'm very happy with the SRVANY 
> solution.
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails 
> regarding Cygwin to
> Cygwin Developer                                
mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2001-05-03  0:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-30 10:43 sshd on win2k [revisit] Harry Putnam
2001-04-30 11:34 ` more info on cvs Heitzso
2001-04-30 12:45   ` Charles Wilson
2001-04-30 13:49     ` Christopher Faylor
2001-04-30 15:17     ` Charles Wilson
2001-04-30 13:07   ` Christopher Faylor
2001-04-30 12:06 ` sshd on win2k [revisit] Dmitrii Pasechnik
2001-04-30 13:07   ` Charles Wilson
2001-05-02  6:22     ` Corinna Vinschen
2001-05-02  6:58       ` Michael Erdely
2001-05-02  7:44 Morrison, John
2001-05-02  9:33 ` Corinna Vinschen
2001-05-03  0:45 Morrison, John

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