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]

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


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