---
sidebar_position: 13
---

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

# `lium ssh`

SSH into a pod.

```bash
lium ssh POD [OPTIONS]
```

## Arguments

- `POD` — Pod name or index from [`lium ps`](./ps).

## Options

| Flag | Effect |
|------|--------|
| `--command CMD` | Execute a single command and exit |
| `--port PORT` | SSH port (default: `22`) |
| `--key PATH` | Use a specific SSH private key |

## Examples

```bash
lium ssh my-pod                          # Interactive shell
lium ssh 1                               # SSH to pod #1
lium ssh my-pod --command "nvidia-smi"   # One-shot command
```

## See also

- [`lium exec`](./exec) — run a command without holding a TTY
- [`lium scp`](./scp) / [`lium rsync`](./rsync) — move files
