Connecting to another MT

Hi!
Can I automatically connect to another MT (password auth.) and execute command with script?
For example, I have local MT and want to set some parameter on another 100 MT’s:
/interface wireless set wlan1 ack-timeout=115

I don’t want enter password 100 times…:wink:

Thanks.


/system ssh “host”
#need automatically enter pass and executable command


Please, help to connect…

You can write expect script that will connect to routers from specific address list and execute needed commands.

But local machine is MikroTik - base station, and need connect to client MT.
Can I write expect script on MT?

Use certicate for ssh

Max