This is the mail archive of the cygwin 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]
Other format: [Raw text]

OpenSSH for windows issue


Friends,
I am trying to install SSH on a Windows 2003 server since last 3 days
and still no luck.

I have tried literally everything and searched 100s of google  pages
but I am getting this error.I would greatly appreciate if someone can
help me resolve this.

Here's the trace from the server end:

E:\Program Files\OpenSSH\usr\sbin>sshd -d
debug1: sshd version OpenSSH_3.8.1p1
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.

debug1: Server will not fork when running in debugging mode.
Connection from 10.11.14.113 port 2715
debug1: Client protocol version 2.0; client software version PuTTY_Release_0.60
debug1: no match: PuTTY_Release_0.60
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes256-ctr hmac-sha1 none
debug1: kex: server->client aes256-ctr hmac-sha1 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST_OLD received
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user Administrator service ssh-connection method no
ne
debug1: attempt 0 failures 0
debug1: userauth_banner: sent
Failed none for Administrator from 10.11.12.13 port 2715 ssh2
debug1: userauth-request for user Administrator service ssh-connection method pu
blickey
debug1: attempt 1 failures 1
debug1: test whether pkalg/pkblob are acceptable
debug1: temporarily_use_uid: 500/513 (e=500/513)
debug1: trying public key file /home/Administrator/OpenSSH/.ssh/authorized_keys
debug1: restore_uid: (unprivileged)
debug1: temporarily_use_uid: 500/513 (e=500/513)
debug1: trying public key file /home/Administrator/OpenSSH/.ssh/authorized_keys2

debug1: restore_uid: (unprivileged)
Failed publickey for Administrator from 10.11.12.13 port 2715 ssh2
debug1: userauth-request for user Administrator service ssh-connection method ke
yboard-interactive
debug1: attempt 2 failures 2
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=Administrator devs=
debug1: kbdint_alloc: devices ''
Failed keyboard-interactive for Administrator from 10.11.12.13 port 2715 ssh2
Received disconnect from 10.11.12.13: 14: No supported authentication methods a
vailable
debug1: do_cleanup

After researching,people mentioned that it looks like a permission
issue with either one of the following:
E:/Documents and Settings/Administrator/OpenSSH
E:/Documents and Settings/Administrator/OpenSSH/.ssh
E:/Documents and Settings/Administrator/OpenSSH.ssh/authorized_keys

And they say to set 700 or some permissions to them,but how can i do
that in Windows ???

I have given full control to all these files to the "Administrator"
and the "System" account.

My /etc/passwd and /etc/group files look proper and also have full
control by "Administrator" and "System" accounts.I have also changed
the Administrator home to point to /home/Administrator/OpenSSH

I have generated my private/public key on the client end(windows box)
using puttygen and copied my public key into the E:/Documents and
Settings/Administrator/OpenSSH/.ssh/authorized_keys file.

Please Please help.
Thanks
Mick

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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