Hello all ! I have really trouble upgrading my dietpi client and i really need your help . Some days ago i had install manually open ssh server , change permissions and add the authorized keys. All good , now i m able to connect through my computer without problem and without digit any pass. The problem although that i have now is that i cant update at all the dietpi client. I got an error "
Job for ssh.service failed because the control process exited with error code.
See “systemctl status ssh.service” and “journalctl -xe” for details.
invoke-rc.d: initscript ssh, action “start” failed.
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-08-31 22:02:23 CEST; 30ms ago
Process: 6971 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Process: 6967 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 6971 (code=exited, status=255)
Aug 31 22:02:23 DietPi systemd: Starting OpenBSD Secure Shell server…
Aug 31 22:02:23 DietPi sshd: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Aug 31 22:02:23 DietPi systemd: ssh.service: Main process exited, code=exited, status=255/n/a
Aug 31 22:02:23 DietPi systemd: Failed to start OpenBSD Secure Shell server.
Aug 31 22:02:23 DietPi systemd: ssh.service: Unit entered failed state.
Aug 31 22:02:23 DietPi systemd: ssh.service: Failed with result ‘exit-code’.
dpkg: error processing package openssh-server (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can i do ? i suppose i modify the initial image and it cannot upgrade now ?
I really cant reinstall from the beginning everything , is something i can do ?Thanx in advance for any help !