LinuxSSH PortOn this pageSSH Port RHEL, CentOS 8+, Rocky 8&9 sudo vim /etc/ssh/sshd_config#Port 22 -> Port UR_PORTsystemctl restart sshd Ubuntu sudo vim /etc/ssh/sshd_config#Port 22 -> Port UR_PORTsudo service ssh restart