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 From: "Richard Stanton" To: Subject: RE: sshd and ssh Date: Wed, 16 May 2001 11:32:23 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <911C684A29ACD311921800508B7293BA010A878D@cnmail> This may be the problem, but a. I've only just starting seeing the same error messages, since my upgrade to 2.9p1. I didn't get them with the previous version of openSSH (but the auth... files are the same as before) b. I've tried changing ownership of auth... to everything I can think of, and the same error messages still occur. Richard Stanton > -----Original Message----- > From: Mark Bradshaw [mailto:bradshaw AT staff DOT crosswalk DOT com] > Sent: Wednesday, May 16, 2001 8:12 AM > To: 'ronaldo AT vision DOT ime DOT usp DOT br'; cygwin AT cygwin DOT com > Subject: RE: sshd and ssh > > > check the ownership of your keys. They need to be owned by > whatever account > starts the service, which will probably be LocalSystem. That may be a > little tough to sort out, so you may want to either start the service with > another user, not use key authentication, or not use CYGWIN=ntsec > > -----Original Message----- > From: Ronaldo Fumio Hashimoto [mailto:ronaldo AT ee DOT tamu DOT edu] > Sent: Wednesday, May 16, 2001 9:58 AM > To: cygwin AT cygwin DOT com > Subject: sshd and ssh > > > Hi, > > I am trying to get sshd and ssh work. Maybe my question is basic and > someone in this list could help me. > > I have installed sshd through cygrunsrv: > > $ cygrunsrv -I sshd -p /usr/sbin/sshd -a '-D' > $ cygrunsrv -S sshd > > It seems that it is working. Now, when I tried to use > > $ ssh -v localhost > > I got: > > debug1: Seeding random number generator > debug1: Rhosts Authentication disabled, originating port will not be > trusted. > debug1: ssh_connect: getuid 1004 geteuid 1004 anon 1 > debug1: Connecting to localhost [127.0.0.1] port 22. > debug1: Connection established. > debug1: identity file /home/ronaldo/.ssh/identity type 0 > debug1: identity file /home/ronaldo/.ssh/id_rsa type 1 > debug1: identity file /home/ronaldo/.ssh/id_dsa type 2 > debug1: Remote protocol version 1.99, remote software version > OpenSSH_2.5.2p2 > debug1: match: OpenSSH_2.5.2p2 pat ^OpenSSH > debug1: Local version string SSH-1.5-OpenSSH_2.5.2p2 > debug1: Waiting for server public key. > debug1: Received server public key (768 bits) and host key (1024 bits). > debug1: Forcing accepting of host key for loopback/localhost. > debug1: Encryption type: 3des > debug1: Sent encrypted session key. > debug1: Installing crc compensation attack detector. > debug1: Received encrypted confirmation. > debug1: Trying RSA authentication with key 'ronaldo AT MACHINE' > debug1: Remote: RSA authentication refused for ronaldo: bad ownership or > modes f > or '/home/ronaldo/.ssh/authorized_keys'. > debug1: Server refused our key. > Permission denied. > debug1: Calling cleanup 0x41a304(0x0) > > How can I fix it? Any help is greatly appreciated. > > Thanks, > > -- > Ronaldo Fumio Hashimoto > Home Page: http://www.ime.usp.br/~ronaldo > -- > > > > -- > 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