# Connecting to Virtual Machines | Cycle.io

Canonical URL: https://cycle.io/docs/platform/virtual-machine-access

## Connecting to Virtual Machines.

It is possible to connect to the serial console of a virtual machine over SSH, using the same proxy service as a container instance [two-way console](https://cycle.io/docs/platform/container-instances#two-way-console-ssh).

### Serial Console (SSH)

Cycle provides a service known as the **Console Service**, that facilitates an SSH connection to the serial console of the virtual machine. This is done **without installing SSH into the virtual machine or the server it runs on**. This eliminates security vulnerabilities associated with SSH. In order to connect, credentials must first be generated, which can then be used to access the serial console. Without these credentials (which expire after **30 minutes**), access to the serial console is not possible.

### Logging In

#### Root Password

As long as the base image supports [cloud-init](https://cloud-init.io/), Cycle will automatically generate and set a root password for the virtual machine, which can be used to log into the root account once the operating system has booted.

Root passwords can be updated via the [API](https://cycle.io/docs/api/platform/tag/virtual-machines/POST/v1/virtual-machines/%7BvirtualMachineId%7D/tasks#tag/servers/POST/v1/infrastructure/servers) or [Portal](https://cycle.io/docs/portal/managing-virtual-machine#update-root-password). The change will take effect the next time the virtual machine is rebooted.

#### SSH Keys

As long as the base image supports [cloud-init](https://cloud-init.io/), public SSH keys can be uploaded via [API](https://cycle.io/docs/api/platform/tag/virtual-machines/POST/v1/virtual-machines/ssh-keys#tag/servers/POST/v1/infrastructure/servers) or [Portal](https://cycle.io/docs/portal/managing-virtual-machine#ssh-keys), and will be automatically injected into the virtual machine on create or reboot.

This makes it easy to SSH into the virtual machine from another computer or service that doesn't have access to Cycle.

### Connect to a Virtual Machine on Cycle

[##### Portal](https://cycle.io/docs/portal/virtual-machine-dashboard#serial-console)[##### API](https://cycle.io/docs/api/platform/tag/virtual-machines/GET/v1/virtual-machines/%7BvirtualMachineId%7D/sos#tag/servers/POST/v1/infrastructure/servers)

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
