sudo systemctl restart sshd
Category: Self-Hosting
sudo systemctl restart sshd
Restart the SSH daemon to apply config changes — stay in the current session, it won't disconnect
Applies sshd_config changes. You stay connected in your current session; only new connections use the new config.