Methods and compositions for modulating phytopathogenic infection in a plant comprise applying to the plant and/or seeds thereof and/or substrate used for growing said plant an amount of a sarmentine and/or a sarmentine analog having substantially the same activity as sarmentine effective to modulate said phytopathogenic infection via virus, fungi, bacteria, nematode and insect.