Reputation: 129
Is it possible, via VBScript to connect to a local Linux server via SSH, issue a single command and then disconnect?
I searched online but couldn't see any examples on doing this but didn't see any examples of doing so.
Thanks
Steve
Upvotes: 0
Views: 1015
Reputation: 38755
Use PuTTY, especially Plink:
Plink (PuTTY Link) is a command-line connection tool similar to UNIX ssh. It is mostly used for automated operations, such as making CVS access a repository on a remote server.
If you are lucky, you don't even need to wrap the Plink call in a VBScript program.
Upvotes: 1