> ## Documentation Index
> Fetch the complete documentation index at: https://docs.preprod.world/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect to a Virtual Machine via the Gcore customer portal

The [VNC console](https://en.wikipedia.org/wiki/Virtual_Network_Computing) in the [Gcore Customer Portal](https://portal.gcore.com) provides browser-based access to a Virtual Machine (VM) without requiring internet access on the VM — useful for troubleshooting connectivity issues. Both Windows and Linux VMs are supported.

Connecting to a Linux Virtual Machine via the Customer Portal requires a [password](/cloud/virtual-instances/customize-initial-setup-for-your-instance#set-a-password-for-an-instance) set during VM creation. Without one, use [SSH keys](/cloud/virtual-instances/connect/connect-via-ssh) instead.

<Tabs>
  <Tab title="Connect to a Windows Virtual Machine">
    <Info>
      On Windows VMs, the password is set in the **Access** field during VM creation — the **User data** field cannot be used for passwords on Windows. Enter that password at the login screen.
    </Info>

    To connect to a Virtual Machine:

    1\. In the Customer Portal, navigate to **Cloud** > **Virtual Instances**.

    2\. Find the VM to access and click its name to open it.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xuApPAya85ArHWkj/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-list.png?fit=max&auto=format&n=xuApPAya85ArHWkj&q=85&s=cf47c16aea1ba804d85d5725900cc3a0" alt="Virtual Instances list in the Gcore Customer Portal" width="1400" height="423" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-list.png" />
    </Frame>

    3\. Next to the VM's IP address, select the **Access to Console** link. The VNC console will open.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xuApPAya85ArHWkj/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-access-to-console.png?fit=max&auto=format&n=xuApPAya85ArHWkj&q=85&s=9111a791f6c23df7acc9897d1ca4b9a2" alt="VM overview with IP address, Access to Console button, and SSH login link" width="1024" height="344" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-access-to-console.png" />
    </Frame>

    4\. In the top-right corner of the screen, click **Send CtrlAltDel**.

    5\. Enter the password set during VM creation. The username for all Windows VMs is `Admin`.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/sWR9yB62ley3KQzl/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/windows-login.png?fit=max&auto=format&n=sWR9yB62ley3KQzl&q=85&s=68ed24d11324434f9d22314b40ff8dfc" alt="Windows login screen" width="3128" height="2032" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/windows-login.png" />
    </Frame>

    The VM connection is established.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/quJUsv1VZhKssj0R/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/windows-connected.png?fit=max&auto=format&n=quJUsv1VZhKssj0R&q=85&s=df302781ba1b8362ca9deabd01465852" alt="Windows desktop after connecting to the VM" width="3172" height="2408" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/windows-connected.png" />
    </Frame>
  </Tab>

  <Tab title="Connect to a Linux Virtual Machine">
    Linux VMs without a configured password cannot connect via the Customer Portal — use SSH keys instead.

    <Info>
      For VMs in a private subnet only, the [Dynamic Host Configuration Protocol](/cloud/virtual-instances/create-an-instance#enable-DHCP) must be enabled in the subnet settings for password-based login to work.
    </Info>

    To connect to a Virtual Machine:

    1\. In the Customer Portal, navigate to **Cloud** > **Virtual Instances**.

    2\. Find the VM to access and click its name to open it.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xuApPAya85ArHWkj/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-list.png?fit=max&auto=format&n=xuApPAya85ArHWkj&q=85&s=cf47c16aea1ba804d85d5725900cc3a0" alt="Virtual Instances list in the Gcore Customer Portal" width="1400" height="423" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-list.png" />
    </Frame>

    3\. Next to the VM's IP address, select the **Access to Console** link. The VNC console will open.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xuApPAya85ArHWkj/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-access-to-console.png?fit=max&auto=format&n=xuApPAya85ArHWkj&q=85&s=9111a791f6c23df7acc9897d1ca4b9a2" alt="VM overview with IP address, Access to Console button, and SSH login link" width="1024" height="344" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-access-to-console.png" />
    </Frame>

    4\. Log in using the following credentials:

    * **username** : Shown next to the **Access to Console** button in the format `[username]@[ip-address]` — typically the OS name, for example `ubuntu`. The VNC terminal displays this as `login:`.

    * **password** : The password set in the **User data** field under **Additional options** during instance creation.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xuApPAya85ArHWkj/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/linux-login-prompt.png?fit=max&auto=format&n=xuApPAya85ArHWkj&q=85&s=9eb4be746944dda5dffa65f8c71e0460" alt="Ubuntu terminal displaying the VNC login prompt" width="1104" height="744" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/linux-login-prompt.png" />
    </Frame>

    <Tip>
      If a password was set during VM creation but is no longer known: connect to the VM via SSH and run `sudo cat /var/lib/cloud/instance/user-data.txt`. The password appears in the line: `password: [password]`. If a hash was used, the hash appears instead of a readable value.
    </Tip>

    The Virtual Machine connection is established.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/quJUsv1VZhKssj0R/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/linux-connected.png?fit=max&auto=format&n=quJUsv1VZhKssj0R&q=85&s=e37c77563e87e15275141ef90769cca2" alt="Ubuntu terminal displaying successful connection to an instance" width="2576" height="1644" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/linux-connected.png" />
    </Frame>
  </Tab>
</Tabs>
