> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/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/yrEa6OGy4Q_zWlXb/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-list.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=3a694ef165a22a41641087b3a0b0dd2b" 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/yrEa6OGy4Q_zWlXb/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-access-to-console.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=c06450b5dc83424e58573b21cadca877" 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/YEsPf7l6EvNuxMEL/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/windows-login.png?fit=max&auto=format&n=YEsPf7l6EvNuxMEL&q=85&s=37f3affd865572d522f072a8fe2f0cac" 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/YEsPf7l6EvNuxMEL/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/windows-connected.png?fit=max&auto=format&n=YEsPf7l6EvNuxMEL&q=85&s=b6250cb9d808b330036e8a79fd5e44d5" 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/yrEa6OGy4Q_zWlXb/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-list.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=3a694ef165a22a41641087b3a0b0dd2b" 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/yrEa6OGy4Q_zWlXb/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/vm-access-to-console.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=c06450b5dc83424e58573b21cadca877" 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/yrEa6OGy4Q_zWlXb/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/linux-login-prompt.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=9a00eb1609ec854a937f0fbdc5ea25c5" 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/YEsPf7l6EvNuxMEL/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-control-panel/linux-connected.png?fit=max&auto=format&n=YEsPf7l6EvNuxMEL&q=85&s=e2b7b42b21f41a7adc8eb487f41d98dd" 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>
