From 4a5c55ca2b782982dbbcf5ab5f8dbe9291c2d2c3 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 16 Dec 2021 16:20:44 +0100 Subject: doc/ssh-keys-import: handle RSA keys only 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 d221072..e6ae96c 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) -- cgit v1.2.3-54-g00ecf