delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/27/18:53:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CA+7conmf=HORJ9nscNe4CA67EAeO+n7H6GkpVK4cPq315wJtzg@mail.gmail.com>
References: <CA+7conmf=HORJ9nscNe4CA67EAeO+n7H6GkpVK4cPq315wJtzg AT mail DOT gmail DOT com>
Date: Fri, 27 Jul 2012 17:52:35 -0500
Message-ID: <CAHiT=DFFxBH=EoQx1karYBhAEVmNk1n9Ocn6kjLvnjWboXJ7Ow@mail.gmail.com>
Subject: Re: sshd crashing
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Fri, Jul 27, 2012 at 4:44 PM, Pawel Jasinski wrote:
> I have a fresh installation of cygwin on xp and win7 (both run 1.17.16-1).
> I have run ssh-host-config followed by rebaseall. The CYGWIN variable
> for sshd is not set.
> I have tried with and without priv. separation.
> It is started with cygrunsrv -S sshd
> I can connect with ssh localhost. Things are ok until I do vi
> /etc/profile. At this moment it crashes.
>
> Now if I try the version without priv separation to start by hand:
> /usr/sbin/sshd -D -d -e things go well and it does not crashes when in
> ssh session /etc/profile is edited.
> Am I missing something in config?

Inspect /var/log/sshd.log for obvious rebase errors and run rebaseall then.
I fixed the same problem this way.

> sshd: PID 484: service `sshd' failed: signal 11 raised
-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.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

- Raw text -


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