Skip to content
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

Open
lukdev371 opened this issue Sep 28, 2024 · 0 comments
Open

Securing the SSH service #955

lukdev371 opened this issue Sep 28, 2024 · 0 comments
Labels
Existing tutorial Changes on an existing tutorial

Comments

@lukdev371
Copy link

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 from ssh.socket).

Suggested Fix

Disable the ssh.socket service and manually restart the ssh.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.

@svenja11 svenja11 added the Existing tutorial Changes on an existing tutorial label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Existing tutorial Changes on an existing tutorial
Projects
None yet
Development

No branches or pull requests

2 participants