Yesterday there was a major upgrade. I use manjaro sway. Before I did the upgrade yesterday the ssh server was working. Now although openssh is installed, when I do “sudo systemctl start ssh” I get the error:
Failed to start ssh.service: Unit ssh.service not found
Same issue on my other computer with manjaro after upgrade.
When I run systemctl.status sshd it says Loaded but inactive.
I have double-checked that it is installed and have reinstalled it. Doesn’t help.
Check if sshd.socket is enabled with “systemctl status sshd.socket”. If it is, disable it and enable “sshd.service” (if you haven’t yet). That should be it.
That’s exactly the 3 commands I did yesterday before the upgrade. Everything worked. Today I have repeated exactly those 3 commands and for the last 2 I get “Unit ssh.service not found” despite ssh being installed.
You may be right. I am wondering if I just fell for the old after therefore because fallacy.
I am starting to think that somehow there was nothing wrong other than that there was some other process going on behind the scenes that was temporarily interfering when I sent those systemctl commands. If I’d just waited for ten minutes maybe they’d all have worked, I don’t know.
Anyway, I unchecked this as solved because now I think it’s possible there was never any problem. Maybe just the command wasn’t getting through right away on my system and so was sending an error.
Sorry, I’m no linux expert. I did get those errors connecting. But maybe it was just slow connections on my particular system.
Failed to enable unit: Unit ssh.service does not exist
Whereas;
systemctl enable sshd
might have worked as expected. The result of simply forgetting the d could have resulted in temporary confusion; it can happen to the best and the worst of us.
But, if you like, we can just close the topic without the solution.
God, I think maybe that was the whole thing, I forgot the d!! Ugh. Sorry all and thanks for your help. I will check your last message as the solution. REMEMBER the “d”!!!