There are several eco-friendly solutions that will help keep cats away from vegetable beds and private property. Cats prefer to walk on soft soil and will avoid prickly surfaces, such as pine needles or yard trimmings. Using scented products and materials, such as citrus scents, human hair or strong smelling plants like lavender lemon thyme or citronella will also assist in keeping cats away.
There are other commercial products that can deter the unwanted cat from your property without harming the animal or your garden. Do not use moth balls as they are toxic to both cats and humans.