Problem with ssh in non-interactive mode and mapped drives

Andrey Repin anrdaemon@freemail.ru
Mon Nov 28 18:40:00 GMT 2011


Greetings, Costin Caraivan!

> When running the command non-interactively, with this: ssh
> PROJECTctier@LOCATIONsd-vm-admin.PROJECT.COMPANY.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@freemail.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



More information about the Cygwin mailing list