[SPARK-3584] sbin/slaves doesn't work when we use password authentication for SSH

thanks for pointing that out. i didn't read closely enough.