user3636943
user3636943

Reputation: 129

Connect and run a command on a local Linux server via VBScript

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

Answers (1)

Ekkehard.Horner
Ekkehard.Horner

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

Related Questions