run program via ssh

From: Robert Chares (chares_at_core.ucl.ac.be)
Date: 11/29/05


Date: Tue, 29 Nov 2005 14:27:07 +0100

Hello,

I want to run a program that is installed on a server that I can access only
via ssh. And I want to have that in one command. I tried something like

ssh -X myserver.com && matlab

but this tries to execute matlab on my local machine (where it is not
installed).

Any idea how to solve that elegantly?

Robert