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

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: <3AAF90C3.A59D8134@itb.biologie.hu-berlin.de>
Date: Wed, 14 Mar 2001 16:39:47 +0100
From: Axel Kowald <axel AT itb DOT biologie DOT hu-berlin DOT de>
Organization: HU-Berlin
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: SSHd permission problem
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>

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 :


	Axel Kowald



> 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

- Raw text -


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