Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Getting /bin/env xxxx no such file or directory

$
0
0
Hello,
I am starting to use SSH. net
When I use putty I can login and then run a command with success. After log in I type the following command:
"/usr/local/bin/runTest-ccc 10.218.48.120 neo neo c-test 1"

When I execute the command using SSH.net library I get an error:
/bin/env <name of a library> no such file or directory.

Could you give me an idea why it is giving me the error? Below, my 2 lines of code:
var cmd = client.RunCommand("/usr/local/bin/runTest-ccc 10.218.48.120 neo neo c-test 1");
cmd.Execute();

Thanks,

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>