Eu estava atualizando para o openssh-server (1: 6.6p1-2ubuntu2.8).
Eu recebi o seguinte erro.
Creating SSH2 ECDSA key; this may take some time ...unknown key type ecdsa
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Eu tenho que editar /var/lib/dpkg/info/openssh-server.postinst e comentar as seguintes linhas.
#create_key "Creating SSH2 ECDSA key; this may take some time ..." \
# "$hostkeys" /etc/ssh/ssh_host_ecdsa_key -t ecdsa
#create_key "Creating SSH2 ED25519 key; this may take some time ..." \
# "$hostkeys" /etc/ssh/ssh_host_ed25519_key -t ed25519