X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Chen Yue" To: Subject: why can not get ssh passwd prompt Date: Mon, 21 Jan 2008 21:03:21 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Message-ID: <4794981e.1420720a.0dfa.0075@mx.google.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi Everyone My requirement may be somehow insane but I really meet it. First, I created an sshd daemon by cygwin on windows host (let it as host A). Then I login host A by ssh and get a shell window. All the above is all right for me. Here is the problem, there is a bat file on windows host which would invoke "ssh ". When I run the bat file, it can not deliver the passwd prompt. However, if I use a bash script to execute the ssh command. It is all right. I also tried to run ssh in debug mode (-vvv) in bat file, it shows server side is ready to receive passwd.(Is it possible that the passwd prompt is redirected to somewhere else?) On the other hand, if I run the bat file directly from a local cmd/cygwin window in windows host, it is also OK, so weird. Now I have re-written the bat file in term of bash to get it to work. But I am still curious about this issue. Does any one have ideas? -- 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/