The judgment debtor or his successor in interest may redeem the property at any time prior to the confirmation of sale on paying the amount of the purchase money, with interest at the legal rate per annum thereon from the date of sale, together with the amount of any taxes which the purchaser may have paid thereon after the purchase. If the judgment debtor does not redeem until after the confirmation of the sale, thereafter he shall redeem within six months from such order of confirmation and not otherwise.