delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/09/16:51:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.1.0.14.2.20011109164448.00b4bec0@mail.biapo.com>
X-Sender: biapo7 AT mail DOT biapo DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 09 Nov 2001 16:50:25 -0500
To: "VSpace" <VSpace AT voyager DOT net>, <cygwin AT cygwin DOT com>
From: rotaiv <rotaiv AT biapo DOT com>
Subject: Re: SSHD config
In-Reply-To: <002701c16964$8733ce90$577a5dd8@vspaceprs>
References: <3d DOT 142083fb DOT 291d9649 AT aol DOT com>
<20011109155552 DOT A11546 AT redhat DOT com>
Mime-Version: 1.0

At 11/09/2001  04:21 PM, VSpace wrote:

>and then it came back that there was no config file in /etc/rc ? I am now
>stumped. I poked around in /etc and there are no subdirectories at all. Did
>I miss something?

I just went through the same experience with the "other / hacked" version 
of sshd.  I used the following web site as a guide and I was able to 
successfully install cygwin and openssh:

http://tech.erdelynet.com/cygwin-ssh.asp

To answer your question, the above web site states you should also run the 
following commands:

# Create the files I think you are missing
ssh-host-config -y

# Install as a service
cygrunsrv -I sshd -p /usr/sbin/sshd -a '-D' -d 'Cygwin SSHD'

# Change default security permissions (NTFS only)
chown system.system /etc/ssh_host*_key
chmod 600 /etc/ssh_host*_key

# Create files for each user
ssh-user-config -y -p ''

# Start the service
cygrunsrv -S sshd

I executed all the above commands and my installation worked just fine.

rotaiv.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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