Remember that the smell may spread through your home. You can also use urine soaked kitty litter. The smell is offensive to squirrels but does not harm baby squirrels. Hang sweaty clothing in the attic. Wild animals do not like the smell of people.
Squirrels are afraid of owls.
Try to make a model of an owl to use as a 'scarecrow'. Try a combination of these ideas if the animal is very persistent. You have to be more determined than they are. To see if the squirrels have left, spread flour near their nest and check for tracks. Block all other holes completely, with strong material.