I couldn't be bothered with the openssh problems so I just did in terminal: dpkg --purge --force-all openssh dpkg --purge --force-all openssh-client dpkg --purge --force-all openssh-common dpkg --purge --force-all openssh-server and reinstalled.