There are plenty of smells that deter bugs, and some of them can be found in your own kitchen. For example, cinnamon, fresh mint, coffee grounds, vinegar and ground black or red pepper have been known to keep ants away. Peppermint is touted as a scent that can repel spiders, mosquitoes and ants.