I have bunnies and squirrels, with an occasional skunk and raccoon. To uninvite them, I sprinkle cayenne pepper, purchased in bulk from the grocery store, around the yard and especially around flowers (my veggies are in 24" high raised beds). I started doing this to keep the neighborhood cats out of my lower raised beds, and it seems to be effective for these other critters, too.
I have bunnies and squirrels, with an occasional skunk and raccoon. To uninvite them, I sprinkle cayenne pepper, purchased in bulk from the grocery store, around the yard and especially around flowers (my veggies are in 24" high raised beds). I started doing this to keep the neighborhood cats out of my lower raised beds, and it seems to be effective for these other critters, too.