Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/reference/replicated-cli-vm-ssh-endpoint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ Get the SSH endpoint and port of a VM.

The output will be in the format: hostname:port

You can identify the VM either by its unique ID or by its name.

Note: SSH endpoints can only be retrieved from VMs in the "running" state.

```
replicated vm ssh-endpoint VM_ID [flags]
replicated vm ssh-endpoint VM_ID_OR_NAME [flags]
```

### Examples

```
# Get SSH endpoint for a specific VM by ID
replicated vm ssh-endpoint <id>
replicated vm ssh-endpoint <id-or-name>
```

### Options
Expand Down
Loading