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

doing this in parallel is a feature, and passwordless access is common. i'd suggest adding a flag to indicate ssh should be run in the foreground.