Help Center/ Ubiquitous Cloud Native Service/ FAQs/ On-Premises Clusters/ What Can I Do If the VM SSH Connection Times Out?
Updated on 2024-09-11 GMT+08:00

What Can I Do If the VM SSH Connection Times Out?

The performance of some VMs does not meet the requirements. As a result, the SSH connection occasionally times out. In this case, you can modify the SSH configurations of the VMs to solve the problem.

  1. Run the following command:

    vim /etc/ssh/sshd_config

  2. Press i to enter editing mode.
  3. Set UseDNS to no.

  4. Press Esc and enter :wq! to save the settings and exit.