Mikrotik RouterOS Configuration

March 31, 2026 ยท View on GitHub

RouterOS 7.12 and later support ED25519 keys.

Create a key pair, save the public key (id_ed25519.pub) and save it on flash. Create a user and attach the public key.

[admin@mikrotik] > /user add name=oxidized group=read disabled=no
[admin@mikrotik] > /user ssh-keys import public-key-file=id_ed25519.pub user=oxidized

Oxidized can now retrieve your configuration!

Save significant changes only

You can store the configuration only on significant changes by setting the variable output_store_mode to on_significant. On RouterOS, this prevents Oxidized from saving a new configuration version when only the system history has changed without any actual configuration change.

vars:
  output_store_mode: on_significant

Back to Model-Notes