delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/23/22:35:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.4 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE,TW_RW,TW_WX
X-Spam-Check-By: sourceware.org
Message-id: <4E546354.3030904@cygwin.com>
Date: Tue, 23 Aug 2011 22:35:00 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: SSHD Issue Windows 2003 64 bit
References: <CAC8hJujitHJhJB1_uUpC1G9j0odvWefnXxLtZ6FZWkb15d5niQ AT mail DOT gmail DOT com> <CAC8hJugWHko9GU5bg4Dfu_cfNN1E+JLBOZxCtobNaRutny3Nxw AT mail DOT gmail DOT com> <4E49EA9A DOT 3030500 AT cygwin DOT com> <CAC8hJuiZ_xHHaWn+qoW92WNOzk4+isE=mfvWQa5WdW6ki68bEA AT mail DOT gmail DOT com> <4E4B264A DOT 2090409 AT cygwin DOT com> <CAC8hJugMM3zB8HNBY5i61cW-x-1=byT33+Lg6a9Gv7rP_JYKVQ AT mail DOT gmail DOT com> <4E52727D DOT 8090001 AT cygwin DOT com> <CAC8hJui2mc-v3BghNO__w+sTtKzW6D4LD5FB9p1ULBtxO2-2bA AT mail DOT gmail DOT com> <4E52BE7E DOT 4010600 AT cygwin DOT com> <CAC8hJugmnxdZkZ4mwXJeZza22xA8DFj_x=ngz=hq7Qi9KjdxZA AT mail DOT gmail DOT com>
In-reply-to: <CAC8hJugmnxdZkZ4mwXJeZza22xA8DFj_x=ngz=hq7Qi9KjdxZA@mail.gmail.com>
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

On 8/23/2011 2:54 PM, Gary wrote:
>> On 8/22/2011 1:12 PM, Gary wrote:
>>>
>>> Doing a 'set -x' in my terminal window only outputted:
>>> '+ssh-host-config' with no other information.
>>>
>>> Here is the actual "path" value inside the 'path' variable in my case:
>>> C:\Perl\site\bin;C:\Perl\bin;C:\Program Files (x86)\Support
>>> Tools\;C:\Program Files (x86)\Windows Resource
>>>
>>> Kits\Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;c:\Program
>>> Files (x86)\Java\jre6\bin;C:\usr\bin
>>>
>>> Attached is the cygcheck.out ran by "cygcheck -s -v -r>
>>> cygcheck.out".  There is a warning stating that there are multiple
>>> cygwin1.dll files in my path, I check and there are only one after
>>> grepping it out:
>>> -rwxr-xr-x 1 Administrator Administrators 2666500 Mar 29 08:11 cygwin1.dll
>>>
>>> Thanks for your help!
>>
>> There's a few things here that you should clean-up:
>>
>> * Your path points to a non-Cygwin perl.  Please either remove that
>>   installation or remove the install directory from your path.
>> * You have installed Cygwin multiple times on this machine.  Can
>>   you create a new installation where you only install Cygwin once?
>> * OpenSSH is one of these installations.  You are virtually guaranteed
>>   of a non-working 'sshd' if you install this 3rd party app.  If
>>   you want to use Cygwin's 'sshd', don't install OpenSSH.  If you
>>   prefer to use OpenSSH, install it and not Cygwin's 'openssh' package.
>>   Better yet, don't install Cygwin at all in this case.
> Isn't openssh necessary to run 'ssh-host-config'?  I've re-installed a
> fresh instance of cygwin without openssh (only cygrunsrv).  Attached
> is the output from cygcheck.

You had installed <http://sshwindows.sourceforge.net/> in the previous
virtual machine.  This is incompatible with Cygwin's installation.
That's why I recommended choosing it or Cygwin and its package.  So
if you're content to use Cygwin's package, you can install openssh
via setup.exe now.

I hadn't noticed that you are using Xen as the basis for your
virtualization.  Be aware that Xen has had problems in the past supporting
Cygwin.  I don't know if those issues have been resolved in Xen or not.
But if you continue to experience trouble under Xen, you may want to try
a different product like VirtualBox, VMWare, etc.  That may help you.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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