Squirrels are an easier problem to handle.
I use a smaller cage trap,and bait with a half a bagel smothered in crunchy peanut butter.One year when they were extremely numerous,I took 66 off of my deck.
Apple slices with peanut butter and a few sunflower seeds or nuts ,stuck in the peanut butter also does a good job.
Tom