SSH connection

After an update (apt update) I had problems with the fileserver login via SSH. I uninstalled OpenSSH (via dietpi-software) and now DietPi is no longer accessible at all.
(Terminal says: ssh: connect to host dietpi port 22: Connection refused).
Owncloud however runs perfectly. What can I do, does anyone have any ideas?

Well, if you didn’t install dropbear after uninstalling openssh, then the only solution is to connect with keyboard/monitor and reinstall it.

Hi,

usually there is a toggle option inside dietpi-software to change SSH server preference between OpenSSH and Dropbear. However removing SSH completely, will leave the system without SSH server functionality. Only chance to get back into the system is to connect keyboard/monitor and install SSH server again.

Thanks, guys, I’ll do that!