delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/03/09:32:54

X-Spam-Check-By: sourceware.org
Message-ID: <7158515.post@talk.nabble.com>
Date: Fri, 3 Nov 2006 06:32:37 -0800 (PST)
From: ppmoore <polomora AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Can't "ssh localhost" - password not accepted
MIME-Version: 1.0
X-Nabble-From: polomora AT gmail DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hello,

I followed these instructions to install ssh on Cygwin, but they appear to
be broken:
  http://www.nabble.com/ssh-and-SYSTEM-tf1863995.html#a5092524
I haven't been able to find any more detailed instructions anywhere else, so
here I am...

I downloaded the openssh package and installed. 
I added the CYGWIN="ntsec tty" EV to Windows
I executed ssh-host-config, answering yes to each option.
I executed "net start sshd"
I imported the windows passwords using "mkpasswd -cl > /etc/passwd" and
"mkgroup --local > /etc/group", although the mkgroup command didn't work
because of an access rights problem. This should import my Windows password,
right?
I then started sshd using "net start sshd", and it starts up:
  The CYGWIN sshd service is starting.
  The CYGWIN sshd service was started successfully.

I then stopped sshd, and tried starting it manually, using "/usr/sbin/sshd
-d -e -D", to attempt to view logging whole using "ssh localhost", and I get
the message:
  debug1: sshd version OpenSSH_4.4p1
  Could not load host key: /etc/ssh_host_key
  Could not load host key: /etc/ssh_host_rsa_key
  Could not load host key: /etc/ssh_host_dsa_key  
  Disabling protocol version 1. Could not load host key
  Disabling protocol version 2. Could not load host key
  sshd: no hostkeys available -- exiting.

Have I missed something? 
Paul
-- 
View this message in context: http://www.nabble.com/Can%27t-%22ssh-localhost%22---password-not-accepted-tf2568211.html#a7158515
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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