Skip to content

Commit f224bcb

Browse files
authored
Merge pull request #3449 from replicatedhq/update-cli-docs-v0.111.0-2025-08-14-204821
Update Replicated CLI docs for v0.111.0
2 parents 653da80 + 4492ca6 commit f224bcb

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/reference/replicated-cli-vm-scp-endpoint.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The output will be in the format: scp://username@hostname:port
1111
You can identify the VM either by its unique ID or by its name.
1212

1313
Note: SCP endpoints can only be retrieved from VMs in the "running" state.
14-
14+
1515
VMs are currently a beta feature.
1616

1717
```
@@ -29,6 +29,12 @@ replicated vm scp-endpoint my-test-vm
2929
3030
# Get SCP endpoint with a custom username
3131
replicated vm scp-endpoint my-test-vm --username custom-user
32+
33+
# Use the endpoint to SCP a file to a VM by name
34+
scp /tmp/my-file $(replicated vm scp-endpoint my-test-vm)//dst/path/my-file
35+
36+
# Use the endpoint to SCP a file from a VM by name
37+
scp $(replicated vm scp-endpoint my-test-vm)//src/path/my-file /tmp/my-file
3238
```
3339

3440
### Options

docs/reference/replicated-cli-vm-ssh-endpoint.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The output will be in the format: ssh://username@hostname:port
1111
You can identify the VM either by its unique ID or by its name.
1212

1313
Note: SSH endpoints can only be retrieved from VMs in the "running" state.
14-
14+
1515
VMs are currently a beta feature.
1616

1717
```
@@ -29,6 +29,9 @@ replicated vm ssh-endpoint my-test-vm
2929
3030
# Get SSH endpoint with a custom username
3131
replicated vm ssh-endpoint my-test-vm --username custom-user
32+
33+
# Use the endpoint to SSH to a VM by name
34+
ssh $(replicated vm ssh-endpoint my-test-vm)
3235
```
3336

3437
### Options

0 commit comments

Comments
 (0)