How do you get car insurance for less than a year?

I would like to get car insurance for just a couple of months as the named driver, but all of the insurance quotes are for a year. Even the pay by month ones have a deposit.