Mail Archives: cygwin/2001/05/16/11:13:15
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 <ronaldo AT ime DOT usp DOT 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
- Raw text -