I have a requirement to run a .ksh file via .NET. For SSH the unix I'm using the SSH.NET dll. I'm able to successfully connect to the unix box and run commands.
But when the .ksh file tries connecting to a DB it is not able to connect.
I'm able to successfully tnsping the DB from putty. But when I tried tnsping the DB via SSH.NET dll I'm getting ksh: tnsping: not found.
Is it something specific to the Unix (like environment variable or something)?
It would me much helpful if someone could tell what is that we are missing here :)