Skip to content

init on node without ecdsa-keys complains too loud.

   - [demodex] Processing triggers for systemd (215-17+deb8u4) ...
 = checking SSH host keys
   - [demodex] FAILED /bin/grep ^HostKey /etc/ssh/sshd_config | /usr/bin/awk '{print $2 ".pub"}' | /usr/bin/xargs /bin/cat
     - exit status: 123
     - stdout: ssh-rsa AAAAB3SNIPdemodex
     - ssh-dss AAAAB3NSNIP@demodex
     - ssh-ed25519 AAAAC3NzSNIP root@demodex
     - stderr: /bin/cat: /etc/ssh/ssh_host_ecdsa_key.pub: No such file or directory
 = updating facts
 = completed initialization of nodes demodex

This should either not be red, saying FAILED, but maybe a warning.

(from redmine: created on 2016-08-28)