No VB advice here, but
PuTTY has a command line interface that you could use to execute commands over SSH. If you place the code to be executed in a shell script on the remote server, you could execute it in one line.
There might even be a dll interface based on putty, try googling...