I was trying to upgrade debian buster to bullseye, during the installation/upgrade of packages putty crashed. Since then I cant connect anymore to my server.
I tried via ssh, telnet, virtualmin(some kind of a control panel). All failed. Via putty I get the following error: Network error: Software caused connection abort.
Powershell:kex_exchange_identification: read: Connection reset
ssh -v [email protected] OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2 debug1: Connecting to my.server.ip.address [my.server.ip.address] port 22. debug1: Connection established. debug1: identity file C:\\Users\\mypc/.ssh/id_rsa type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_rsa-cert type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_dsa type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_dsa-cert type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_ecdsa type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_ecdsa-cert type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_ed25519 type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_ed25519-cert type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_xmss type -1 debug1: identity file C:\\Users\\mypc/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1 kex_exchange_identification: read: Connection reset I dont have physical access to the server. I contacted the host but they said they cant help. From my control panel in the host I have 3 buttons Reinstall, Reboot, Netboot.
The server is up and running, the websites etc. are also working fine. I want to try Reboot but Im just afraid that it will make things worse... I would highly appreciate any help! How in the world I can access my server?
Update: I found out that my host has a rescue mode, I rebooted in rescue mode and found out that the sshd.conf was overwritten. I renamed the old configuration file and rebooted again. Now I have ssh access.
screenortmuxprecisely to avoid interruption of the long-running terminal bound processes due to various network-related reasons.