summaryrefslogtreecommitdiff
path: root/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key.mdwn
blob: cabf6ed51a44281e8fdb79e9a1986d31ccd3a479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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?