Cannot connect to a virtual machine over SSH

If you cannot connect to a virtual machine over SSH, the host name might be too long.


In many environments, the long host name on the virtual machine cannot exceed 63 characters. If the host name is too long, it can cause problems connecting to the virtual machine or other problems with system services.


If you have problems caused by the long host name, access the virtual machine and change the host name or delete the virtual machine and deploy it again with a shorter host name.