aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mod/ssh-keys-import.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-02 09:46:25 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-11-09 15:08:36 +0100
commit1265caca60bf097d66ef9ef0814e8f04f9720170 (patch)
tree2834fab4cf22b32bcf273e76efe4f6586be2cf15 /doc/mod/ssh-keys-import.md
parentc3045f372350bd8dd0a8f10efb8a4b938e896145 (diff)
mod/ssh-keys-import: calculate fingerprint...routeros-7.12beta1-2change-112
... and store it in key-owner, which is descriptive only. This requires RouterOS 7.12beta1 for the 'transform' property for ':convert' command.
Diffstat (limited to 'doc/mod/ssh-keys-import.md')
-rw-r--r--doc/mod/ssh-keys-import.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/mod/ssh-keys-import.md b/doc/mod/ssh-keys-import.md
index cf28ee2..9f7f7ce 100644
--- a/doc/mod/ssh-keys-import.md
+++ b/doc/mod/ssh-keys-import.md
@@ -3,6 +3,8 @@ Import ssh keys for public key authentication
[⬅️ Go back to main README](../../README.md)
+[![required RouterOS version](https://img.shields.io/badge/RouterOS-7.12beta1-yellow?style=flat)](https://mikrotik.com/download/changelogs/)
+
> ℹ️️ **Info**: This module can not be used on its own but requires the base
> installation. See [main README](../../README.md) for details.
@@ -35,7 +37,11 @@ been added:
$SSHKeysImport "ssh-ed25519 AAAAC3Nza...ZVugJT user" admin;
The third part of the key (`user` in this example) is inherited as
-`key-owner` in RouterOS.
+`key-owner` in RouterOS. Also the `MD5` fingerprint is recorded, this helps
+to audit and verify the available keys.
+
+> ℹ️️ **Info**: Use `ssh-keygen` to show a fingerprint of an existing public
+> key file: `ssh-keygen -l -E md5 -f ~/.ssh/id_ed25519.pub`
### Import several keys from file