Third and fifth harmonics of a pulsed infrared laser (1064 nm) delivering pulses of nanosecond duration have been generated in the laser ablation plasmas of various materials including the metals Al and Fe and the highly ionic insulators MgF 2 and NaCl. The harmonics were generated in a process triggered by laser ablation followed by frequencyup-conversion of the fundamental laser beam that propagates parallel to the target surface. The spatial and temporal behaviour of the harmonics reveals the distinctive composition and dynamics of each plasma, gives insight on the species that act as nonlinear media and allows the comparison of different processes that control the generation efficiency. Loworder harmonic generation thus emerges as a powerful and universal technique for monitoring and diagnostics of ablation plasmas while, at the same time, the results presented serve to guide the choice of solid materials for efficient high harmonic generation using ultrashort pulses in the femtosecond regime.