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

O.K, I'll add SSH_FOREGROUND variable and add description.