changes done to make ssh_to_rainmaker generic...