commit 624744c5ee0a34cb22760048005d40664b4408dbe4df41e56708ed638f1bfc76 from: Stefan Sperling date: Tue Jun 24 07:59:33 2025 UTC add an example showing how to add an ecdsa key to gotsys.conf commit - 736ce67377491b8bdb58b4617e935edcb9db90e595fce46052165d579bdec4d9 commit + 624744c5ee0a34cb22760048005d40664b4408dbe4df41e56708ed638f1bfc76 blob - 872e3c5a8d7cfe7d01c9b96c195151ce76833e73dfa8948af5e0325c225c838a blob + 42fc9e3882789b6a48fedd7b008053179df6eacdd5b7c806a45ce847d560269e --- gotsys/gotsys.conf.5 +++ gotsys/gotsys.conf.5 @@ -188,6 +188,10 @@ ssh-ed25519 ssh-rsa .El .Pp +The key type must be followed by the base64-encoded public +.Ar key . +To avoid syntax errors the base64 string might need to be wrapped in quotes. +.Pp The optional .Ar comment is not used for anything, but may be @@ -506,6 +510,7 @@ user flan_hacker { user flan_squee { group porters authorized key ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAQ2ZWscmMeCYLwm07gDSf0jApFJ58bMNxiErDqUrFz4 + authorized key ecdsa-sha2-nistp256 "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBVqRHzWh20u49JoZPc34pBFo7w+0KGRCnkuNbeR7ufJUbXceDwzgssQHDVILD1QK0Mmku2jLo1MG/BtwTVpsWc=" flan_squee@localhost } repository "src" {