![]() Once you have it as a reference then you can use the library to make an ssh connection to the server and run your command. You can see 'build succeeded' at the bottom left: Here's a screenshot of the ssh library open in Visual C# 2010 Express with the build run. A little bit of a pain, but a small price to pay for using the Express editions. Once it's built you'll get a dll that you can then add as a reference to your VB project. You can download Visual C# 2010 Express and open Renci.SshNet and build it. ![]() ![]() It doesn't really matter that it is CSHARP. This will allow you to create an SSH connection to the Unix box and pass over the commands you want to run. I have found this one but there has to be more. In my opinion, this is the "ugly" way to do this.įind a VB SSH library. This will require some elevated privileges on your app since it's going to have to have access to the system directly. Have a program like Putty installed on the system and make an SSH call to the server (outside of the app) using Putty and sending your commands this way. I can think of two ways to accomplish this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |