Apr 25, 2011 at 12:54 PM
Edited Apr 25, 2011 at 1:17 PM
I am connecting to a machine via ssh and machine is getting connected successfully but when I am running the command "omc version" its not returning anything. in the error its showing ksh: omc: not found \n so i think its not considering the version in the
command. I ran the ls command its gave me the output but not the omc version command. can anyone please help me?
var sshClient = new SshClient(IpAddress,login, passwd);
var cmd = sshClient.runCommand("omc version");
var result = cmd.result;
result is not showing anything but i have checked the cmd.error and it showing ksh: omc: not found\n.
So i think its executing only omc