Age | Commit message (Collapse) | Author |
|
Stretch uses systemd socket actication vor ssh. unfortunately
postinst will still tries to restart sshd, which will fail as
socket is still listening. This leaves systemd think system is
in degraded state - ssh will still work but degraded state has
side-effects elsewhere.
Workaround by disabling socket first. And on the positive, the
dsa key workaround can now be removed...
Change-Id: Ibcc870170d36e4f4f8db4eb0f7e7830f62388ed3
|
|
This is a workaround until https://bugs.debian.org/850614 is available in
stretch. Without the DSA key, the ssh.service will fail to start at boot.
Change-Id: I1f9e3fcfde5510e666a5c8b1b0007d37e704da08
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
We used to check if the DSA key exist to decide whether we need to generate the
SSH keys on boot. However the DSA key is no longer generated by default in
Debian, see
https://anonscm.debian.org/cgit/pkg-ssh/openssh.git/commit/debian/openssh-server.postinst?id=599154ab5ed55fbe507d016ea1b2d3601fed4ca7
So rely on RSA key instead.
Change-Id: Iacf55116a61ec62dcfe7b34f5e2e749bd3f715fa
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Change-Id: Iecff9c437c83ce2267abea8eac2ccf56186723c9
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|