After changing the port from 22 to 2200 from /etc/ssh/sshd_config then I run : sudo service ssh restart. I disabled the UFW and by check sudo service ssh status it's working and listing to port 2200 but when I try to connect by this line : sudo ssh -vvv -i LightsailDefaultPrivateKey-us-east-1.pem …

Ubuntu VPS Hosting via I can't login to vps ubuntu after change ssh port.