delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/14/11:57:08

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
Date: Wed, 14 Mar 2001 17:12:49 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: SSHd permission problem
Message-ID: <20010314171249.B8866@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <3AAE49AF DOT 4937BC65 AT itb DOT biologie DOT hu-berlin DOT de> <20010313175612 DOT A1385 AT cygbert DOT vinschen DOT de> <3AAF5E36 DOT 92616E0A AT itb DOT biologie DOT hu-berlin DOT de> <20010314144236 DOT B8060 AT cygbert DOT vinschen DOT de> <3AAF90C3 DOT A59D8134 AT itb DOT biologie DOT hu-berlin DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3AAF90C3.A59D8134@itb.biologie.hu-berlin.de>; from axel@itb.biologie.hu-berlin.de on Wed, Mar 14, 2001 at 04:39:47PM +0100

On Wed, Mar 14, 2001 at 04:39:47PM +0100, Axel Kowald wrote:
> Hello Corinna,
> 
> > Send output of ssh -v, please.
> 
> This time I started sshd -d on the command line to get the debug output.
> For this I made a separate copy of the ssh_host_key files which is owned
> by me (kowald). Here is the output of ssh -v localhost and ssh -d :

This definitely looks as if your account still hasn't the
correct user rights set. The needed user rights are described in
/usr/doc/Cygwin/openssh-2.5.1p2.README. Just set them for your
account and it will work, probably.

Corinna

> > 101 (/home): ssh -v localhost
> > OpenSSH_2.5.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
> > debug: Reading configuration data /etc/ssh_config
> > debug: ssh_connect: getuid 1000 geteuid 1000 anon 1
> > debug: Connecting to localhost [127.0.0.1] port 22.
> > debug: Connection established.
> > debug: identity file //e/CygwinStuff/home/.ssh/identity type 0
> > debug: identity file //e/CygwinStuff/home/.ssh/id_rsa type 3
> > debug: identity file //e/CygwinStuff/home/.ssh/id_dsa type 3
> > debug: Remote protocol version 1.5, remote software version OpenSSH_2.5.1p2
> > debug: match: OpenSSH_2.5.1p2 pat ^OpenSSH
> > debug: Local version string SSH-1.5-OpenSSH_2.5.1p2
> > debug: Waiting for server public key.
> > debug: Received server public key (768 bits) and host key (1024 bits).
> > debug: Forcing accepting of host key for loopback/localhost.
> > debug: Seeding random number generator
> > debug: Encryption type: 3des
> > debug: Sent encrypted session key.
> > debug: Installing crc compensation attack detector.
> > debug: Received encrypted confirmation.
> > debug: Doing password authentication.
> > kowald AT localhost's password: 
> > Permission denied, please try again.
> > kowald AT localhost's password: 
> > 
> > 
> > ====================================================
> > 
> > 
> > 111 (/home): sshd -d -h /etc/mykey/ssh_host_key
> > debug1: sshd version OpenSSH_2.5.1p2
> > debug1: load_private_key_autodetect: type 0 RSA1
> > error: Could not load host key: /etc/ssh_host_key: Permission denied
> > error: Could not load host key: /etc/ssh_host_rsa_key: Permission denied
> > error: Could not load host key: /etc/ssh_host_dsa_key: Permission denied
> > Disabling protocol version 2. Could not load host key
> > debug1: Seeding random number generator
> > debug1: Bind to port 22 on 0.0.0.0.
> > Server listening on 0.0.0.0 port 22.
> > Generating 768 bit RSA key.
> > debug1: Seeding random number generator
> > RSA key generation complete.
> > debug1: Server will not fork when running in debugging mode.
> > Connection from 127.0.0.1 port 3327
> > debug1: Client protocol version 1.5; client software version OpenSSH_2.5.1p2
> > debug1: match: OpenSSH_2.5.1p2 pat ^OpenSSH
> > debug1: Local version string SSH-1.5-OpenSSH_2.5.1p2
> > debug1: Rhosts Authentication disabled, originating port not trusted.
> > debug1: Sent 768 bit server key and 1024 bit host key.
> > debug1: Encryption type: 3des
> > debug1: Received session key; encryption turned on.
> > debug1: Installing crc compensation attack detector.
> > debug1: Attempting authentication for kowald.
> > Failed password for kowald from 127.0.0.1 port 3327
> >
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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