delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/15/02:32:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=d+Mi8thMvScO6BEOSUjM4gOzsi7T539KHo0PdoLoOeWMhJtenvy44
LU98aqcCuuH49W6m8ULT3cCEldeIpsIMXBLahCkW0ghoYIZY8tg5NhLnbMhCFp54
P3sxcabwmvZVcF1pZ6+BtPaS3xy6RjooMLMCkvNaF3k2eEm1t6tQbg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=+Px/AW7tBqnpndedUZrMkvLbwMc=; b=k9W5brAlpNPMEOvDhr4iaeL5v0Gm
EMFbesTy7hs6df1+aFwPkF1HHVBo1yuq/dDBydeZFY9pame3RsffC3Gwgzk2EyV1
IIcPuJqLUTBlAmbpen7tvLlbrMV1xsMKob0/0jiEVFzf4SeL3quSze+EFKuzgpdZ
gEvCsAwyEEB4XrI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: Configure second sshd on the same machine
Date: Fri, 15 Aug 2014 06:31:56 +0000 (UTC)
Lines: 29
Message-ID: <loom.20140815T082225-417@post.gmane.org>
References: <loom DOT 20140814T182028-687 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Achim Gratz <Stromeko <at> NexGo.DE> writes:
> For building 32bit packages I've set up an additional installation on the
> same server.  To use it from the outside (like) I'm trying to configure a
> second sshd on the server.  So I've installed a cygserver23 and sshd32
> service with otherwise identical setup to their 64bit brethren and bumped
> the port sshd listens on to 3222.

After some back and forth and restarting the services many times I've now
ran into the problem that login in via tcsh on the 64bit sshd would also get
no tty (login via bash and then exec a "tcsh -l" still works).  There is
some interaction going on between the 64bit and 32bit world that I don't
understand, most likely via one of the two service users (cyg_server and
sshd) that have been set up from 64bit.  I've just removed the 32bit
services and rebooted the server due to security updates and the 64bit sshd
reverted back to normal after that.  I can provide an additional service
user for cyg_server32, but for the sshd user I'm stuck with a single account
unless I go and patch the sshd.

If someone has got this working I'd appreciate a short note on exactly how.
 In fact I was planning to have three separate Cygwin installations (a build
environment for 32bit and 64bit plus a 64bit user installation) and three
sshd running on different ports providing remote access to all of them.  The
maddening thing is that it looks like I'm 98% there...


Regards,
Achim.




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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019