From 8726a3abc28e1b174c299031497cb7aeb839e114 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 16 Dec 2021 16:20:44 +0100 Subject: [PATCH] doc/ssh-keys-import: handle RSA keys one Sadly RouterOS does not (yet) support ed25519 keys... --- doc/ssh-keys-import.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ssh-keys-import.md b/doc/ssh-keys-import.md index d2210724..e6ae96c0 100644 --- a/doc/ssh-keys-import.md +++ b/doc/ssh-keys-import.md @@ -26,7 +26,7 @@ Then run the script: Starting with an `authorized_keys` file you can split it on a shell: - while read type key name; do echo $type $key $name > $name.pub; done < authorized_keys + grep -E '^ssh-rsa' authorized_keys | while read type key name; do echo $type $key $name > $name.pub; done --- [◀ Go back to main README](../README.md)