leap node init: /etc/ssh/ssh_host_ed25519_key.pub: No such file or directory
During leap node init, leap_cli shows an error when it can't find an ssh host key that is configured in /etc/ssh/sshd_config
.
This is obviously a bug on server side itself, but leap_cli should handle it more gracefully (in regards that we do the platform workshops on GH nodes...)
--- leap/workshop.bitmask.net » leap node init workshop
= checking SSH host keys
- [workshop] 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 AAAAB3NzaC1yc2EAAAADAQABAAABAQC/DjpsSiEGEFGirx7EWD02Qxnrbsw3l5lc2us2F2yh8YCY0MyIXffo3XFZhVLCB/dnAQsgXoieJPbtr6Z3cAssYTP+Q2F5XdNJtfZE0Si8zeaGn5E6R1Orzc0B3LYuTUpL1rjgtov/L6KAjAKJJtRh9F2q5Oo/xwBs9DpP0sXJM6nmrS6OjzaFVawUYdurwC+Mt6TDnmYu+nDp8EzvjE2mE6sI6mTJZgTihRuT3D8nXrWNzsUaZOsg+RN6i+6qlLAcpFyelo0N8dBKA5eWIWvUuy4qwR5P3OzyKIKPKr3GHLpEn+yC4IWaRSIj3fh2xalOMQyeW09yOgOUp8xZ/5ar root@node
- ssh-dss AAAAB3NzaC1kc3MAAACBANzGzD+JmLSc4pX3xfApQIrs+rdUm+jTkgZZFxvN75JRrJYhcvjOO36wK8FDW/ffu69mASn9Yg0VA1r8P3p6aMknAbfYoB+OiU+JC77QEsGWsqQkBYB+bRzUZHDTkvdHYKUNaVYt025CSE1QtMYT/QROiKApjdDtdYIQN2aqJiwzAAAAFQCXMYjfwh1JhXKlWqWGE8Fs0FyQGwAAAIEAhlCvn0m6FV22NtWpfGcZhhN0DX9ILrIaHd1iUxJN5HkZibTssHnqNIdsftp0llD2ucXIiAD5NTC/YFYqd/SVuAIKmnfozba601vvOIHMUwgKNf1hvFlyKE533GlJxP49v63435udiqeKwbeG7uf1RkSHjBdKAoFnqRosesZCPyYAAACAJKONedlE+yXvEGwNG3JxlkyLiIO6sSwkPVMP23uB8y3r333TOl0zeGfcZotDzfWxwBGQNODvyguTuEeQp5/3P8gs7ROy8GF+Hr2LvUwsIhLDVKJKLEJoQuytyGBE+0ZTp7OkhkWxcx4BiC69rcv0Ubh7OtQeIhqTJsll9Ck+vFE= root@node
- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCbOfThesCIXqAOBFV8gj0jO/CJdVAjz0SG4n49/jS5IHwAR2Fd80eVA55bmIkvs7s1t0MPn/h6Sdp/s/jn1y4w= root@node
- stderr: /bin/cat: /etc/ssh/ssh_host_ed25519_key.pub: No such file or directory
= updating facts
= created facts.json
= completed initialization of nodes workshop