The OS3 v4.x firmware uses “root”. WD changed the v2.x firmware a long time ago to use “sshd” instead of “root”. The change happened sometime around v2.31.195 (09/11/2019).
SSH no longer working (update 2.31.195)
You might need to use firmware older than v2.31.195 to accomplish what you are trying to do.