Subject: Re: SSHd permission problem
From: Axel Kowald <[email-masked]>
To: Corinna Vinschen <[email-masked]>
Date: Wed, 14 Mar 2001 16:39:47 +0100

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@localhost's password: 
> Permission denied, please try again.
> kowald@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