Connecting to Your Environment
How to open your CloudCLI Cloud environment in the browser, in VS Code or Cursor, over SSH, and from your phone.
You can open a CloudCLI Cloud environment in the browser, in VS Code or Cursor, over SSH, or on your phone. All of them open the same running environment, so your files, terminal and agent conversations are there whichever one you use.
The buttons described here are on each environment card in your dashboard. VS Code, Cursor and SSH need the environment to be running.
Browser
Open the environment from the dashboard to get CloudCLI UI in your browser: the agent chat, a terminal, the file explorer and Git. There is nothing to install, and it works on a phone or tablet too.
VS Code and Cursor
- In VS Code, install the Remote-SSH extension.
- On the dashboard, click VS Code or Cursor on the environment card.
- CloudCLI copies the environment's SSH password to your clipboard and shows a short countdown. Click Open VS Code (or Open Cursor), or wait for it to open by itself.
- Paste the password when the editor asks for it. If it asks which platform the remote host runs, choose Linux.
The editor opens your workspace folder on the environment. Extensions, the integrated terminal and port forwarding work as they do on a local project. See Running and Previewing Your App for port forwarding.
- The buttons only show for a running environment. Right after a start they say "SSH access is being prepared" for a moment.
- If you opened CloudCLI as an installed home-screen app, the buttons are hidden. Open the dashboard in a normal browser tab on your computer.
- On Windows, the dashboard shows a "Windows Remote-SSH permissions fix" with a command to copy if Remote-SSH refuses to connect.
- Add an SSH key (below) and the editor stops asking for the password.
Other editors that support remote development over SSH, such as JetBrains Gateway, can connect with the SSH details in the next section.
SSH
Click SSH on the environment card to see the connection details:
| Field | Value |
|---|---|
| Username | your environment's subdomain |
| Host | ssh.cloudcli.ai |
| Port | 22 |
| Password | generated for this environment |
The same window has the command to copy:
ssh <subdomain>@ssh.cloudcli.aiInside the environment you are the user devuser, and you land in /workspace. devuser has sudo access, and sudo asks for the same SSH password.
Regenerate Password in that window replaces the password with a new one.
SSH keys
To connect without a password, add your public key under Settings → SSH Keys with Add SSH Key. Paste an existing public key (cat ~/.ssh/id_ed25519.pub), or use the Generate new key tab to create one in the browser and download the private key. One key works for all your environments.
Phone and tablet
Open cloudcli.ai in your phone's browser and sign in. It is the same session, laid out for touch. See Access from mobile for adding it to your home screen.
Shared environments
An environment that a teammate shared with you shows an SSH button with its connection details, and you can open it in the browser. The VS Code and Cursor buttons only appear on your own environments, and only the owner can regenerate the password. See Sharing Environments with Your Team.
What's Next
Now that you're connected, you can install software, run AI coding agents, and preview your work. Head to Running and Previewing Your App to learn how.