There are many scents snakes don't like including smoke, cinnamon, cloves, onions, garlic, and lime. You can use oils or sprays containing these fragrances or grow plants featuring these scents.