nice old ladies who don't know what the word means tell stray dogs or cats to "scat."

OED suggests ss + cat suggesting a sibilant hiss (are there any other kinds?) followed by a shouted "cat".