this post was submitted on 06 Jan 2026
51 points (61.9% liked)
linuxmemes
28818 readers
637 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. ๐ฌ๐ง Language/ัะทัะบ/Sprache
- This is primarily an English-speaking community. ๐ฌ๐ง๐ฆ๐บ๐บ๐ธ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. ย
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I uhhh, just loaded Mint the other week. Any chance someone can English this for me?
Op is a bit confused, but here's a primer first:
SSH stands for Secure SHell and is a protocol to logon to a terminal shell via network.
You need to have an SSHd (or Secure SHell Daemon i.e a background service) running to accept and facilitate connections.
Systemd is a suite of services and tools that manage a Linux system, like a init system, service management, handing run levels, socket management, logging etc and gives the user tools like systemctl, journalctl, bootctl, basically anything ending with ctl is conventionally a systemd tool for users to manage their systems with.
Get it? Got it? Good.
systemd.autossh is an embedded ssh client in systemd that tries to help in reestablishing dropping connections. It does not actually start an SSHd (the actual service that facilitates connections) and is embedded for convenience to minimize frustrations with dropping connections.
You can read about it here.
*defeatedly puts away torch and pitchfork
*kicks dirt
Shucks I never get to be mad about systemd!
Just be mad at systemd the same way everyone else is; invent your own reality and throw a fit about that instead!
Every day I wake up and think to myself โtoday is the day I will form a strong opinion about systemdโ but it never happens.
It's upsetting for systemd users too, not having angry haters to go "See!?!!" back at.
I can't believe you're dissing systemd indirectly by dissing the reaction of systemd users to the reaction of the users that hate systemd.
To any neutral observers out there: See!?!! This is the kind of crap we get from the haters.
/s of course, I have no skin in this game. Any time I mess with init systems, I have to look up usage, no matter the system involved, and I haven't run into anything too onerous.
Yeah. Just don't interact with them often enough to remember and build muscle memory. Though, runit is very nice, very simple. E.g.
sv up thingI do have some usage interaction, so ease of script writing is the most important for me.
I've heard of runit.. ..one of the inits impressed me recently in regard to script writing - maybe what's used on OpenWRT. But, I don't remember if that was runit. You can tell how vested i am here. XD
Op actually writes about systemd-ssh-generaror which does exactly what they describe it's just not a whole story or it won't be this inflammatory (or interesting at all).
Tap for spoiler
Also why shouldn't things use kernel cmd? Is it taboo? Only good guys are allowed to use it, not bad horrible systemd?Heya thanks so much for that explanation, took a couple read throughs and some thinking but I think I get it!
The time ans thought you put into that are much appreciated and so emblematic of the awesome nature of the linux world.
Thanks again!
So systemd.autossh is running even if sshd.service is disabled?
Given that it helps with ssh client connections and sshd is, basically, a serverโyes. And even then, I imagine it doesn't actually do anything if there's no ssh connection.
No, it seems you are a bit confused.
You are talking about autossh, which is a completely different third-party SSH client tool that you have to install separately (as the link you shared describes) to have persistent SSH client connections and has nothing to do with systemd other than that you can start it as a systemd service (like any other third-party service).
OP is talking about systemd-ssh-generator, which is described here by Lennart Poettering (author of systemd) as working exactly as OP described it.
it's nothing, don't worry kitten
yay
Ok
I'm also a newb but from what I can tell it sounds like it's telling users to mess with system settings in a way that will fuck up a lot of things up if you don't know exactly what you're doing.
In my head, this is the subtext of much linux info.
SSH (Secure SHell) is a protocol that allows remote shell access from other computers over network. It's quite secure, but not everybody may want sshd (SSH daemon) running in the background automatically.
systemd, by far the most common init system (first program that the kernel runs, which starts and stops your other programs), however, does run it in the background automatically now.
The way to disable this is neither through a simple command, nor configured in a simple config file somewhere in
/etc/systemd/..., but instead in your boot options. Understandably, this feels dumb.It's not really something to worry about for average users.
okay while typing this @thorhop@sopuli.xyz wrote a much better reply that also debunks the OP. Read that one
I appreciate both your responses, really awesome stuff!
Goddamn the linux community is good people.