With Ubuntu 24.04 LTS, Canonical has optimized SSH by using socket-based activation instead of a standalone service by default.This change improves memory efficiency, especially for VMs and containers, as SSH is only active when needed.Configuring a custom SSH port has become easier in Ubuntu 24.04 as it now dynamically pulls port settings from /etc/ssh/sshd_config.Users who prefer the traditional method can disable socket-based activation and restore the classic behavior of SSH in Ubuntu 24.04.