ssh script can log into the cluster head,  but the pseudo-tty involves really sucks (if you hit ^C, you kill the Java program).  This ought to be split out into different implementations.