-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Securing the SSH service #955
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
When creating a Cloud Server using the WireGuard Image, it seems that the SSH service on the host is managed by
ssh.socket
. When trying to secure the SSH service through/etc/ssh/sshd_config
, configuration changes are not applied because restarting the ssh service does not implement the new configuration (likely due to the trigger fromssh.socket
).Suggested Fix
Disable the
ssh.socket
service and manually restart thessh.service
(On current releases of Ubuntu 24.04 LTS (GNU/Linux 6.8.0-38-generic x86_64)) via:sudo systemctl restart ssh
. If needed,ssh.socket
can be enabled later on.Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered: