On Fri, Nov 17, 2023 at 07:17:08PM +0000, Adam Weremczuk wrote: > Hello, > > Yesterday SSH on my desktop PC running Ubuntu 20.04 became unresponsive. > > The machine was responding to ping and "telnet 22" was briefly connecting > before connection closed.
Guessing from the context, you tried to ssh into your desktop and something went wrong ("became unresponsive"). What /exactly/ did your ssh client say? I'd guess along the lines of "connection closed by foreign host", which would mean the ssh daemon is listening on the other side but closes the connection shortly after establishing it. You can gather a bit more of info by adding one (or more) -v options to your ssh client invocation. > The graphical login prompt was visible, but when I tried to log in, it threw > me to the text console. No login prompt on any virtual consoles and > Ctrl-Alt-Del did nothing. > > There is no information logged in wtmp, kern.log and dmesg. Nothing > interesting in auth.log > > The last 40 lines from syslog look as below: [...] I'm not a systemd expert by a long shot, so I'll have to leave this to others, but my first impression of the log is that of a system shutting down (which is kind of strange). Perhaps you've had a file system (or underlying drive media) error and your root FS is mounted read only? I understand that you managed to log into a console: what does "mount" say? Cheers -- t
signature.asc
Description: PGP signature