OpenSSH
[Top] [All Lists]

Issue while Running SSH from a Windows Service

To: <openssh-unix-dev@mindrot.org>
Subject: Issue while Running SSH from a Windows Service
From: "Nedunchezhian, Veena \(TCS Consultant\)" <Veena.Nedunchezhian.Consultant@ACNielsen.com>
Date: Wed, 29 Nov 2006 18:00:02 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: tmda@mindrot.org
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Old-delivered-to: openssh-unix-dev@mindrot.org
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
Thread-index: AccUEnvgq++TkoIATweiCLwI/76u4Q==
Thread-topic: Issue while Running SSH from a Windows Service
Hi All - 
 
It seems to be an odd scenario. I have a simple ssh command which
establishes connection with a UNIX machine and executes some commands
over there. When I ran the command from command window, I was able to
successfully run them. In reality I wanted the ssh command to be invoked
by a windows 2003 service. I tried to debug the ssh command while
running from a service and I get the below log
 
C:\WINDOWS\system32>ssh -v -i c:\id_rsa -i c:\known_hosts -l stwdadmin
10.14.34.211 "ls -rt /export/stwd/staged/ondemand/sqa/outbound/*.mf |
sed 's/\/export\/stwd\/staged\/ondemand\/sqa\/outbound\///g'>
/export/stwd/staged/ondemand/sqa/outbound/EXT5mflist.txt" 
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Connecting to 10.14.34.211 [10.14.34.211] port 22.
debug1: Connection established.
debug1: identity file c:\\id_rsa type 1
debug1: identity file c:\\known_hosts type -1
debug1: Remote protocol version 1.99, remote software version
OpenSSH_4.1
debug1: match: OpenSSH_4.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

 
After the above line, SSH hungs. Not sure where the problem is. I am
currently using SSH 3.8.1p1-1 version. 
 
Your support will be appreciated. !!!
 
 
Thanks!

Veena Nedunchezhian
Business Solutions Delivery - ACNielsen Retail Systems 
Phone: 847-605-5225 Mobile : 847-340-4051

Veena.Nedunchezhian.consultant@acnielsen.com
<blocked::mailto:Veena.Nedunchezhian.consultant@acnielsen.com> 

 
 
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>
  • Issue while Running SSH from a Windows Service, Nedunchezhian, Veena \(TCS Consultant\) <=