The maximum length of the root password varies depending on which type of connection you need. This is both normal and expected. If you need more than one type of connection, it is suggested to consider choosing the lowest maximum length among all the options you need so that all types of connections you need are successful. For example, but not limited to, if you need both LuCI and SSH connections. Then, the suggested maximum length is 100 characters for successful connections with both LuCI and SSH.
Below are details about the maximum length of the root password per connection options
Maximum 256 characters for the root password. For successfully LuCi into OpenWrt.
Notes:
Unknown maximum length. For successfully Serial into OpenWrt.
Notes:
Maximum 100 characters for the root password. For successfully SSH into OpenWrt.
Notes:
Forum discussion:
Wiki documentation:
F.A.Q.: