RouterOS manual

Import Host Key



ip/ssh/import-host-key

Type: Command

<ArgTableRow arg="private-key-file" typ="file"></ArgTableRow> <ArgTableRow arg="passphrase" typ="string"></ArgTableRow>

Source

Updated 2026-08-22.