if you want a physical correction, i've found that a swat on the butt works better then a scruff shake. that can even be dangerous. and i always tell people to never hit them on the nose. this can be dangerous, as well as the fact that it usually only makes them more determined to bite whatever hit them on the nose.

though i have found that ignorring them works just fine too. it depends on the individual dog.