Plants That Repel Bugs Aphids: mints, garlic, chives, coriander, anise and nasturtium or petunia around fruit trees. Cabbage maggots: mints,tomato,rosemary,sage. Cabbage moth: mints, hyssop, rosemary, thyme, sage, celery, catnip, nasturtium. Colorado potato beetle: snap bean, horse-radish. Cucumber beetle: tansy, radish. Cut worms: tansy. Flea beetles: mints, tomato interplanted with cold crops. Japanese beetles: garlic, tansy, rue, geranium. Leafhoppers: petunia, geranium. Mexican bean beetle: marigolds, potato, rosemary, summer savory, petunia. Mites: onion, garic, chives. Mole crickets: spurge, castor bean, mole plant, squill. Nematodes: margolds, salvia, dahlia, calendula. Slugs(snails): prostrate rosemary, worm-wood. Squash bug: tansy, nasturtium. Tomato hornworm: borage, marigolds. White flies: nasturtium, marigods, nicandra.