1.7.5 - Invoking excel/word using vbscript in ssh session from Linux

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Aug 17 15:40:00 GMT 2010


On 8/17/2010 5:44 AM, Mehta, N.V. wrote:
> Hi,
>
> I am starting SSH session from a Linux box to CYGWIN on Windows XP. In this
> session I call a vbscript which invokes MS word or Excel 2007 to export file
> to PDF. The command is: ssh -n -T winuser@windownode csscript xls2pdf.vbs
> "xls_file_path" "pdf_file_path" or ssh -n -T winuser@windownode csscript
> doc2pdf.vbs "doc_file_path" "pdf_file_path"
>
> I have already passwordless login setup using ssh-keygen and
> authorized_keys.
>
> The script starts Word and Excel as I can see the corresponding process in
> the "Task Manager". But it seems both Word and Excel are hanging and doing
> nothing.
>
> If I use wsscript instead of csscript, the wsscript process can be found in
> "Task Manager", but no word or excel, so wsscript is hanging.
>
> There are several messages like this in the mailing list, but no resolution.
>
> Can some one help?

Try it with password authentication.  If that works, visit

<http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview>

 From this list of options, you can pick and configure the mechanism that
works best for you.

FWIW, this basic issue has been discussed many times in the email archives
with multiple pointers to this documentation.  YMMV.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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