Running into this issue on a new stack of ex2300 switches. Root access works fine from console, but when I try to ssh across the network I get password errors.
Did something change in newer versions of Junos?
Deploying this stack the same way we have deployed dozens of them from our "golden" config.
Software version 18.1 R3.3
Appreciate some insight.
Look for root-login deny under ssh, that should mostly be it.
With newer versions of Junos the default is to deny root login via ssh.
Previously to deny root login had to be configured explicitly.
Now you need to configure explicitly to allow the root login instead.
And note that the best practice for any unix based system is to deny direct root ssh login and have uses escalate to root as needed on the cli. Which is what drove the change in default behavior.