I access a Beowulf cluster which only allows local connections when I am at work. To work on the cluster from home, I login to an onsite ssh server then run a simple ssh script, to login to the cluster. What i want to do is have 1 script I can run at home to link my up to the on site ssh server, then onto the cluster. My ssh sever that accesses the cluster is Ubuntu 13.04, and my home client computer is Ubuntu 12.04
how can i tell ssh to execute a script once it logs in?