summaryrefslogtreecommitdiff
path: root/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key.mdwn')
-rw-r--r--doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key.mdwn b/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key.mdwn
new file mode 100644
index 00000000..cabf6ed5
--- /dev/null
+++ b/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key.mdwn
@@ -0,0 +1,23 @@
+After adding a new key with
+
+ ssh-keygen -C '' -N '' -f ssh_host_ed25519_key -t ed25519
+
+And making propellor aware of this with the property
+
+ Ssh.hostKeys "myhost" [ (SshEd25519, "ssh-ed25519 ...") ]
+
+and running
+
+ cat ssh_host_ed25519_key | propellor --set 'SshPrivKey SshEd25519 ""' 'myhost'
+ propellor --spin myhost
+
+I got the following error in my auth.log:
+
+ error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
+
+after adding a newline at the end of /etc/ssh/ssh_host_ed25519_key, everything works well...
+
+Is that a bug in propellor?
+
+
+