Hello, is there any chance to answer an interactive prompt from within a script?
[user@mikrotik] > ip ssh import-host-key private-key-file=flash/id_rsa_mikrotik
This will replace current SSH host key, yes? [y/N]:
[user@mikrotik] > system reset-configuration
Dangerous! Reset anyway? [y/N]: