> For the complete documentation index, see [llms.txt](https://doc.cloudbit.ch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.cloudbit.ch/products/compute/instances/how-to/connect-to-instances.md).

# Connect to instances

{% tabs %}
{% tab title="Connect to Linux (Container) instances" %}

## Connect to Linux (Container) Instances

During the launch of an instance, a default user will be created, and this user will have **no** password set. Instead, your SSH key is copied to the VM and you will be able to login to the machine via SSH using the default username. The default username varies between Operating Systems. Here are the usernames for our official distributions:

| Distribution                 | Username |
| ---------------------------- | -------- |
| Ubuntu Linux                 | ubuntu   |
| Debian Linux                 | debian   |
| CentOS Linux                 | centos   |
| Fedora Linux / Fedora CoreOS | fedora   |
| Rancher Linux                | rancher  |
| VyOS                         | vyos     |
| Fortigate                    | admin    |

To connect by using a terminal on Linux, macOS, or Windows Subsystem for Linux:

1. Open your terminal, and enter the command\
   \
   &#x20;`ssh username@185.xx.xx.xx`

   \
   Substitute in your instance's [Elastic IP](#user-content-fn-1)[^1] address after the `@`. The username is mentioned above in the list for your desired distribution.<br>
2. Press `ENTER` and answer `yes` to the prompt that confirms the connection.<br>
3. When you've logged in, your command prompt changes, and you'll see a welcome screen.

{% hint style="info" %}
Windows users can alternatively connect with [PuTTY](https://www.chiark.greenend.org.uk/~sgtatham/putty/).
{% endhint %}
{% endtab %}

{% tab title="Connect to Windows Instances" %}

## Connect to Windows Instances

To access a Windows Instance, use the RDP protocol and an RDP client for your operating system:

* Windows: [How to use Remote Desktop](https://support.microsoft.com/en-us/help/4028379/windows-10-how-to-use-remote-desktop)
* macOS: [Microsoft Remote Desktop](https://apps.apple.com/us/app/microsoft-remote-desktop-10/id1295203466?mt=12)
* Linux: [FreeRDP](http://www.freerdp.com)

Specify the [Elastic IP](#user-content-fn-1)[^1] address in the client and provide the *default username* **Administrator** and the password specified during the deployment (wizard).
{% endtab %}
{% endtabs %}

[^1]: Publicly-accessible static IP address


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.cloudbit.ch/products/compute/instances/how-to/connect-to-instances.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
