Do things via SSH automatically using expect.