Hi, I would disable ssh on my system.
I expected to have sshd.service as /etc/systemd/system/sshd.service, but instead is located as /snap/core22/617/etc/systemd/system/sshd.service
and so, systemctl stop/disable sshd.service doesn’t work.
systemctl stop/disable sshd.service
So, what to do?
Google is your friend.
sudo snap set system service.ssh.disable=true
This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.