script for login ssh and launching a command remotely