I was trying to set custom port for SSH on a vm. I set the port and restarted sshd with
service restart sshd while I was logged into the VM via SSH.
Something went wrong and I am unable access the vm by its local ip, 192.168.1.223 via ssh.
The VM is a CentOs 7 guest on CentOS 7 host. Apache is running. I am able to access 192.168.1.223. But SSH is not.
So, my question is 'how do I force set ssh to a custom port on the vm'?