open failed administratively prohibited

I installed MariaDB10 on Qu405 and tried to connect to MariaDB via an SSH tunnel, but the SSH server always returns the following error:

channel 3: open failed: administratively prohibited: open failed

I tried making the following configuration adjustment in /etc/ssh/sshd_config:

AllowTcpForwarding yes

However, after I restarted the NAS, I found that my configuration was overwritten and became the following:

#AllowTcpForwarding yes

How should I configure the SSH AllowTcpForwarding feature and make it take effect?

Hello, you mentioned that you encountered an error when connecting to MariaDB via SSH. Could you please provide the full command you used? Thank you!