Tag ubuntu

Change SSH Port on Ubuntu 24.04

In Ubuntu 24.04.2, modifying only the traditional SSH configuration file /etc/ssh/sshd_config often does not work — the port remains on 22.This is because Ubuntu 24.04.2 manages SSH via systemd socket activation, meaning both configuration files must be updated for changes…