> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vessl.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SSH-key

### list\_ssh\_keys

```python theme={null}
vessl.list_ssh_keys()
```

List ssh public keys.

**Example**

```python theme={null}
vessl.list_ssh_keys()
```

***

## create\_ssh\_key

```python theme={null}
vessl.create_ssh_key(
   key_path: str, key_name: str, ssh_public_key_value: str
)
```

Create a SSH public key.

**Args**

* `key_path` (str) : SSH public key path.
* `key_name` (str) : SSH public key name,
* `ssh_public_key_value` (str) : SSH public key value.

**Example**

```python theme={null}
vessl.create_ssh_key(
    key_path="/Users/johndoe/.ssh/id_ed25519.pub",
    key_name="john@abcd.com",
    ssh_public_key_value="ssh-public-key-value",
)
```

***

## delete\_ssh\_key

```python theme={null}
vessl.delete_ssh_key(
   key_id: int
)
```

Delete the ssh public key.

**Args**

* `key_id` (int) : Key ID.

**Example**

```python theme={null}
vessl.delete_ssh_key(
    key_id=123456,
)
```
