How To SSH To Cloud KVM Virtual Machines Print

  • 0

This article applies to Linux-based KVM virtual machines.

If your cloud KVM VPS was deployed via installation ISO, then you can connect to its SSH service using the normal Linux SSH connection process.

If you deployed your KVM VPS using a cloud template, connecting via SSH using the root user is disabled by default & you will only be able to connect via SSH using the default OS user (e.g. centos, ubuntu, etc.).

  1. Start your local SSH client
  2. Use the new KVM VPS IP address for the hostname
    1. If you installed via ISO, connect as a user you created during setup, or root.
    2. If you installed using a template, you should connect using the default OS user (e.g. centos, ubuntu, etc.) & use the Linux sudo feature to run commands requiring administrative permissions.

If needed, you can manually allow root to connect via SSH by editing the PermitRootLogin option in the SSH configuration file & restarting the service.


Was this answer helpful?

« Back