Companion planting works very well for me in dealing with squash bugs and vine borers. In particular, I find that Nasturtiums are great for squash bugs (you can only plant these in the spring: they will do well until the summer heat sets in, then they will just hang in until they go gangbusters in the fall, so if you are going to plant multiple beds throughout the summer, get those into all of them in the spring) and dill fools the vine borers. In fact, while the squash bugs will eventually find your plants even with the nasturtiums (though you can hold them off a bit longer by using row cover until the plants begin flowering), by the time they do, your plants will be sufficiently well established that they will not be too bothered by them. But the dill? It is a game changer. Since I started planting dill in my cucurbit beds, I have not lost a single plant to the vine borers. Not one. And dill is so easy to plant! Just throw the seeds out there and you will have it growing everywhere. Oh yes, and let the plants go to seed and it will come back again and again. Using these two methods I easily get six weeks or more from my summer squash varieties and tons of winter squash as well.