X-Spam-Check-By: sourceware.org Message-ID: Date: Wed, 21 Jun 2006 12:07:18 +0100 From: "John McNulty" To: cygwin AT cygwin DOT com Subject: ssh password-less cmds to Windows 2003 don't return any output MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello, I've been testing executing command via password-less SSH (public key) logins from MacOSX and OpenVMS clients to a Redhat EL AS 4 server, and a WinXP Home system (with Cygwin's OpenSSH). All works ok and I can issue test commands like: $ ssh administrator AT host ipconfig and see the output from ipconfig on the client. However I've just installed and configured Cygwin OpenSSH on a Windows 2003 server, and setup password-less logins (via public keys) as before. But when I try and issue a command via ssh from the client I get no command output back at all. The remote command just completes silently. The password-less login is working just fine. Does anyone else see this and have any idea why I'm getting this behavior? I followed the instructions in ssh-host-config and opted to use the sshd_server account (which kind of caught me by surprise). Obviously this changes the way ssh works on Cygwin a little. Ultimately the object of the exercise here is to drive a CLI app on Windows 2003 from batch jobs on OpenVMS. Cygwin OpenSSH is the only way I've been able to think of to solve this problem. The other clients and servers are only being used to test my methodology is correct, and it works flawlessly on WinXP Home. Regards, John -- 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/