> For the complete documentation index, see [llms.txt](https://ellcrys.gitbook.io/ellcrys/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ellcrys.gitbook.io/ellcrys/elld/attach-mode.md).

# Attach Mode

## Overview

Elld provides an `attach` command that allows users to start a console that connects to a running Elld client locally or remotely.&#x20;

## Usage

```bash
elld attach
```

The command above will attempt to start a console that will connect to an Elld client running on `localhost:8999`.&#x20;

To connect to a different address, use the `--rpc-address` flag.&#x20;

```bash
elld attach --rpc-address "35.178.18.11:8999"
```

## Change Loaded Account

To change the loaded account in attach mode, use the `--account` flag. An interactive session is started to collect the passphrase needed to unlock the account.&#x20;

```bash
elld attach --account "e4Tkr4AMxhPPjptDSMzX98F2BwHvQM2DKx"
```

{% hint style="info" %}
The `--account` flag can take the index of a local account (e.g 0, 1 etc).&#x20;
{% endhint %}
