Mark <markbsdmail2...@gmail.com> writes: > Hi. > > I got 2 VPS, yesterday I upgraded one, from OpenBSD 7.5 to OpenBSD 7.6 > (amd64), > today I wanted to upgrade the remaining one, after "sysupgrade -nk" and > "reboot", > > I cannot login to the system anymore (I manage only via SSH), Putty says: > "Remote side unexpectedly closed network connection", > after entering the password of my root user. I tried ssh in the Windows > terminal, same thing happens. > > ssh server is running, login: prompt arrives. And I see that my ssh client > disconnects after issuing the correct password. > > If the password is wrong, it attempts to ask for it again. > > I got no physical or console access to the server. > > Any idea would be much appreciated.
>From your description, I assume your shell is from ports (bash, zsh, ...), and that after the upgrade of base, the binary of the port (from 7.5) doesn't run on 7.6 system for some reason. So, sshd runs (it is 7.6), you connect : sshd execve the shell, and it doesn't ends well. You can try to connect to another user (if possible) using some base shell, or try to get a console (the getty) and logs as root (assuming the shell of root is still ksh). Else, you should boot bsd.rd to manually recover (temporary set SHELL to ksh for example). Good luck. -- Sebastien Marie