Command execution not working via script

Hi,

I’m trying to run the command below via a script. It runs perfectly fine in the terminal as expected, but when I write it in a script and run it, nothing happens.
log: executing script ssh-script from winbox failed, please check it manually

Script :
/system ssh address=y.y.y.y user=admin command=“/user-manager user set [find name=x-x.x.x] disabled=no”

(ssh keys used for authentication)
After some investigation, I concluded that the problem is that Router A (SSH client) cannot connect to Router B (SSH server) via the script.
how to solve this?

It’s on one line? Can not be on two parts in scripts like that.

yes, Its on one line.

non interactive is /system ssh-exec

Great help! Thank you.