SSH connection

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
f_l
Posts: 2
Joined: Tue Feb 23, 2021 11:15 am

SSH connection

Post by f_l »

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?
User avatar
trendy
Posts: 313
Joined: Tue Feb 25, 2020 2:54 pm

Re: SSH connection

Post by trendy »

Well, if you didn't install dropbear after uninstalling openssh, then the only solution is to connect with keyboard/monitor and reinstall it.
User avatar
Joulinar
Posts: 4821
Joined: Sat Nov 16, 2019 12:49 am

Re: SSH connection

Post by Joulinar »

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.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
f_l
Posts: 2
Joined: Tue Feb 23, 2021 11:15 am

Re: SSH connection

Post by f_l »

Thanks, guys, I'll do that!
Post Reply