This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: sshd and ssh


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@staff.crosswalk.com]
> Sent: Wednesday, May 16, 2001 8:12 AM
> To: 'ronaldo@vision.ime.usp.br'; cygwin@cygwin.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@ee.tamu.edu]
> Sent: Wednesday, May 16, 2001 9:58 AM
> To: cygwin@cygwin.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@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 <ronaldo@ime.usp.br>
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]