Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <050801c0acb2$cc4a6e40$360510ac@ERDELYM> From: "Michael Erdely" To: References: <3AAF90C3 DOT A59D8134 AT itb DOT biologie DOT hu-berlin DOT de> <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> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010314100729 DOT 00ada710 AT imap DOT coe DOT utah DOT edu> Subject: Re: SSHd permission problem Date: Wed, 14 Mar 2001 13:15:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 That is not true in every case. In fact, I've never had to reboot in order to make those permissions take effect. I'm not discounting that it may ever be the case, though. -ME ----- Original Message ----- From: "Bret Jordan" To: Sent: Wednesday, March 14, 2001 12:08 PM Subject: Re: SSHd permission problem > And after you set the permissions you need to reboot. NT can not assign > those permissions on the fly. > > Bret > > At 05:12 PM 3/14/2001 +0100, you wrote: > >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 > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Bret Jordan Dean's Office > LAN Manager College of Engineering > 801.585.3765 University of Utah > jordan AT coe DOT utah DOT edu > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple > > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple