public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Running 1.5 and 1.7 sshd in parallel
@ 2009-06-26 16:46 Federico Hernandez
  2009-06-26 16:52 ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Federico Hernandez @ 2009-06-26 16:46 UTC (permalink / raw)
  To: cygwin

Couldn't find anything on this:

Would it be possible to run sshd 1.5 and 1.7 in parallel so one could
ssh into cygwin 1.5 and 1.7 on the same machine at the same time. Of
course on ssh would have to run on a different port. How would one
setup this?

THX.

/Federico

--
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] 6+ messages in thread

* Re: Running 1.5 and 1.7 sshd in parallel
  2009-06-26 16:46 Running 1.5 and 1.7 sshd in parallel Federico Hernandez
@ 2009-06-26 16:52 ` Corinna Vinschen
  2009-06-26 23:46   ` Federico Hernandez
  0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2009-06-26 16:52 UTC (permalink / raw)
  To: cygwin

On Jun 26 17:19, Federico Hernandez wrote:
> Couldn't find anything on this:
> 
> Would it be possible to run sshd 1.5 and 1.7 in parallel so one could
> ssh into cygwin 1.5 and 1.7 on the same machine at the same time. Of
> course on ssh would have to run on a different port. How would one
> setup this?

Let the sshds use different ports, for instance 22 and 2022.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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] 6+ messages in thread

* Re: Running 1.5 and 1.7 sshd in parallel
  2009-06-26 16:52 ` Corinna Vinschen
@ 2009-06-26 23:46   ` Federico Hernandez
  2009-06-28 12:37     ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Federico Hernandez @ 2009-06-26 23:46 UTC (permalink / raw)
  To: cygwin

THX for the fast answer. That is exactly what I tried.

1.5 on port 22
1.7 on port 2222

but when I ssh into 2222 I endup in $HOME of 1.5 and sometimes the
sshd on 2222 doesn't start.

How can I select each of the sshd in a more controlled way so that I
can specify which daemon to start and stop? (net start sshd
something???) Then I could disable 1.5 to debug the 1.7 one or the
other way around.

/Federico

--
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] 6+ messages in thread

* Re: Running 1.5 and 1.7 sshd in parallel
  2009-06-26 23:46   ` Federico Hernandez
@ 2009-06-28 12:37     ` Corinna Vinschen
  2009-06-28 12:46       ` Spiro Trikaliotis
  0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2009-06-28 12:37 UTC (permalink / raw)
  To: cygwin

On Jun 26 22:25, Federico Hernandez wrote:
> THX for the fast answer. That is exactly what I tried.
> 
> 1.5 on port 22
> 1.7 on port 2222
> 
> but when I ssh into 2222 I endup in $HOME of 1.5 and sometimes the
> sshd on 2222 doesn't start.
> 
> How can I select each of the sshd in a more controlled way so that I
> can specify which daemon to start and stop?

Install it under different service names.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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] 6+ messages in thread

* Re: Running 1.5 and 1.7 sshd in parallel
  2009-06-28 12:37     ` Corinna Vinschen
@ 2009-06-28 12:46       ` Spiro Trikaliotis
  2009-06-29 10:02         ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Spiro Trikaliotis @ 2009-06-28 12:46 UTC (permalink / raw)
  To: cygwin

Hello,

* On Sun, Jun 28, 2009 at 12:31:09PM +0200 Corinna Vinschen wrote:
> On Jun 26 22:25, Federico Hernandez wrote:
> > THX for the fast answer. That is exactly what I tried.
> > 
> > 1.5 on port 22
> > 1.7 on port 2222
> > 
> > but when I ssh into 2222 I endup in $HOME of 1.5 and sometimes the
> > sshd on 2222 doesn't start.
> > 
> > How can I select each of the sshd in a more controlled way so that I
> > can specify which daemon to start and stop?
> 
> Install it under different service names.

Just a question: Wouldn't the differing cygwin1.dll (1.5 vs 1.7) be
problematic when both sshd are started?

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

--
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] 6+ messages in thread

* Re: Running 1.5 and 1.7 sshd in parallel
  2009-06-28 12:46       ` Spiro Trikaliotis
@ 2009-06-29 10:02         ` Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2009-06-29 10:02 UTC (permalink / raw)
  To: cygwin

On Jun 28 14:11, Spiro Trikaliotis wrote:
> Hello,
> 
> * On Sun, Jun 28, 2009 at 12:31:09PM +0200 Corinna Vinschen wrote:
> > On Jun 26 22:25, Federico Hernandez wrote:
> > > THX for the fast answer. That is exactly what I tried.
> > > 
> > > 1.5 on port 22
> > > 1.7 on port 2222
> > > 
> > > but when I ssh into 2222 I endup in $HOME of 1.5 and sometimes the
> > > sshd on 2222 doesn't start.
> > > 
> > > How can I select each of the sshd in a more controlled way so that I
> > > can specify which daemon to start and stop?
> > 
> > Install it under different service names.
> 
> Just a question: Wouldn't the differing cygwin1.dll (1.5 vs 1.7) be
> problematic when both sshd are started?

The DLLs don't collide in memory.  You should just keep the processes
away from each other and not try to run applications in the 1.7 /bin
directory from a 1.5 session and vice versa.  It will work in some way,
but there's no guarantee that it will show the results you expect.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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] 6+ messages in thread

end of thread, other threads:[~2009-06-29  9:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26 16:46 Running 1.5 and 1.7 sshd in parallel Federico Hernandez
2009-06-26 16:52 ` Corinna Vinschen
2009-06-26 23:46   ` Federico Hernandez
2009-06-28 12:37     ` Corinna Vinschen
2009-06-28 12:46       ` Spiro Trikaliotis
2009-06-29 10:02         ` 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).