This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with ssh in non-interactive mode and mapped drives


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]