Skip to content
Merged
Show file tree
Hide file tree
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: 7 additions & 1 deletion docs/reference/replicated-cli-vm-scp-endpoint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The output will be in the format: scp://username@hostname:port
You can identify the VM either by its unique ID or by its name.

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

VMs are currently a beta feature.

```
Expand All @@ -29,6 +29,12 @@ replicated vm scp-endpoint my-test-vm

# Get SCP endpoint with a custom username
replicated vm scp-endpoint my-test-vm --username custom-user

# Use the endpoint to SCP a file to a VM by name
scp /tmp/my-file $(replicated vm scp-endpoint my-test-vm)//dst/path/my-file

# Use the endpoint to SCP a file from a VM by name
scp $(replicated vm scp-endpoint my-test-vm)//src/path/my-file /tmp/my-file
```

### Options
Expand Down
5 changes: 4 additions & 1 deletion docs/reference/replicated-cli-vm-ssh-endpoint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The output will be in the format: ssh://username@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.

VMs are currently a beta feature.

```
Expand All @@ -29,6 +29,9 @@ replicated vm ssh-endpoint my-test-vm

# Get SSH endpoint with a custom username
replicated vm ssh-endpoint my-test-vm --username custom-user

# Use the endpoint to SSH to a VM by name
ssh $(replicated vm ssh-endpoint my-test-vm)
```

### Options
Expand Down