---
title: "alpacon websh join"
description: "Join a shared Websh terminal using the URL and password provided by its host. Sign in with browser login first; API and service tokens cannot join sessions."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon websh join

Join a shared Websh session using its URL and password.

## Usage

`alpacon websh join [flags]`

## Key facts

- Both `--url` and `--password` are required.
- The host gets the URL and password by opening a terminal with `--share`.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | Show command help. | `false` |
| `-p, --password` | `string` | Password for the shared session (required) | — |
| `--url` | `string` | URL of the shared session to join (required) | — |
| `--output` | `string` | Output format: `table` or `json`. Inherited by all commands. | `table` |

## Examples

Join a shared session

```bash
alpacon websh join --url "https://myws.us1.alpacon.io/websh/shared/abcd1234?channel=default" --password my-session-pass
```

Using the short flag for password

```bash
alpacon websh join --url "https://myws.us1.alpacon.io/websh/shared/abcd1234?channel=default" -p my-session-pass
```

Tokens cannot join a session. Sign in with `alpacon login` without `-t`.

## How to get a share URL

Use `--share` when opening a websh terminal to create a shareable session:

```bash
alpacon websh --share my-server
alpacon websh --share --read-only=true my-server
```

The CLI displays the session URL and password after connecting. Share these with the user you want to invite.

Source: https://docs.alpacax.com/reference/cli/websh/join/
