Windows exe file fails when triggered from ssh


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 02-03-2014
Windows exe file fails when triggered from ssh

Hi,

I am triggering a windows exe file using the below command.

Code:
ssh user@remoteserver command.exe -option1:xx /option2:yy

This command is working fine from windows command prompt. When I am triggering the same command from ssh I get the error message cant load
Quote:
QBWMAINN: Could not load ZIP4_W32 -- OK
Any ideas to deal with this situation?

Thanks!!!

---------- Post updated at 08:02 PM ---------- Previous update was at 07:32 PM ----------

I fixed this issue by routing the command through windows command prompt and using the command start. but now the difficulty is the program starts but the screen is not held but released. So, I am not able to figure out a way to see how to check if the command is still running or now.
# 3  
Old 02-04-2014
Not sure how you are actually running your command are you trying
Code:
ssh user@remoteserver cmd.exe /C yourcommand.exe -option1:xx /option2:yy

If yourcommand.exe is a windows GUI executable you may have some issues running it from and ssh session. The sshd process is likely to be running as a windows service and GUI components are not typically allowed to be spawned services.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Copying a text file from my Ubuntu Windows Sub System to a remote instance through SSH Suhaba Shell Programming and Scripting 8 12-21-2018 05:27 PM
Ssh fails due to argument position. mohtashims Shell Programming and Scripting 3 11-21-2018 03:57 PM
While loop not reading all files if ssh fails LES2013 Shell Programming and Scripting 6 08-20-2013 02:13 PM
Passwordless ssh authentication fails tkota Ubuntu 5 11-24-2012 05:00 AM
Even Driven (File triggered) shell script srivi_xinu Shell Programming and Scripting 3 07-05-2010 01:03 PM
Need Help with expect when ssh fails Hossam_Nox Shell Programming and Scripting 2 04-07-2010 08:41 AM
how can I get to know what threads run within process java.exe on windows mika Programming 4 05-16-2009 04:49 AM
unzip command fails in ssh farahzaiba Shell Programming and Scripting 4 01-25-2009 10:47 PM
Multiple instances of windows exe from unix sam99 UNIX for Advanced & Expert Users 2 01-08-2009 04:11 AM
scp from aix to windows (cygwin) fails cypher82 UNIX for Dummies Questions & Answers 5 08-20-2008 05:11 PM
X-windows Problem /GUI Installation fails ak835 Solaris 0 04-24-2008 05:18 AM
How to use SSH Secure File Transfer tool from windows to AIX without password? rainbow_bean AIX 6 12-04-2007 06:10 PM
how to start a c++ exe on unix from windows. ch5082 Programming 5 09-16-2007 06:05 PM
how To edit exe to insert a serial no wich can be usd by runing exe ssahu Programming 6 10-24-2003 05:40 PM