X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_THEBAT X-Spam-Check-By: sourceware.org Date: Mon, 28 Nov 2011 21:06:15 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <162569743.20111128210615@mtu-net.ru> To: Costin Caraivan , cygwin AT cygwin DOT com Subject: Re: Problem with ssh in non-interactive mode and mapped drives In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Greetings, Costin Caraivan! > When running the command non-interactively, with this: ssh > PROJECTctier AT LOCATIONsd-vm-admin DOT PROJECT DOT COMPANY DOT com 'COMMAND', I get > this: > No such file: /cygdrive/z/builds/latest/PROJECT_TM.zip > bash: line 0: [: c3e3cb8bb6b7b07915755ba8d242fa56: unary operator expected > PROJECT_TM package MD5 did not match expected MD5: > c3e3cb8bb6b7b07915755ba8d242fa56 > Connection to LOCATIONsd-vm-admin.PROJECT.COMPANY.com closed. > I tried ssh -t, ssh -tt, same thing happens. > Got any idea why the file is not found in non-interactive mode? Your SSH session not aware of your drive mappings. Either do your mapping in startup script or use UNC path. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 28.11.2011, <21:04> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple