RE: OpenSSH with Windows issue - please help

From: Welsh, Armand <Armand.Welsh_at_**********.***>
Date: Wed Oct 17 2007 - 20:28:29 EDT

This is always a good idea. I do this under Windows XP as well.

-----Original Message-----
From: ssh@erdelynet.com [mailto:ssh@erdelynet.com] On Behalf Of Travis,
Shane (GE Healthcare)
Sent: Wednesday, October 17, 2007 4:19 PM
To: ssh@erdelynet.com
Subject: RE: OpenSSH with Windows issue - please help

One step we always have to perform on 2k3 servers, which I didn't see
you say that you had done:

7) IF THE O/S IS WINDOWS SERVER 2003: set up the OpenSSH Service to
start/run as a domain user
        a. Open Windows Services Management
                i. Start --> Control Panel --> Administrative Tools
--> Services
        b. Open the 'Properties' for the service named OpenSSH
Server
                i. Double-click on it
        c. Choose the 'Log On' tab
        d. Set up the service to use a domain account
        e. Start the service

These instructions are very specific for our situation and our
customers, but they may be helpful to you.

-- 
Shane Travis
LSSD/LSI, GE Healthcare IITS - Pharmacy 
> -----Original Message-----
> From: ssh@erdelynet.com [mailto:ssh@erdelynet.com] On Behalf 
> Of Mick Ken
> Sent: Wednesday, October 17, 2007 5:14 PM
> To: ssh@erdelynet.com
> Subject: OpenSSH with Windows issue - please help
> 
> Friends,
> I am trying to install SSH on a Windows 2003 server since 
> last 3 days and still no luck.
> 
> I tried with Cygwin but it was not working,so i tried 
> "OpenSSH for Windows",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
> 
> --
> List Info:      http://erdelynet.com/ssh-l/
> List Archives:  http://erdelynet.com/archive/ssh-l/
> To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
> 
> 
> 
--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
Received on Wed Oct 17 20:28:41 2007

This archive was generated by hypermail 2.1.8 : Wed Oct 17 2007 - 20:28:42 EDT