File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The output will be in the format: scp://username@hostname:port
11
11
You can identify the VM either by its unique ID or by its name.
12
12
13
13
Note: SCP endpoints can only be retrieved from VMs in the "running" state.
14
-
14
+
15
15
VMs are currently a beta feature.
16
16
17
17
```
@@ -29,6 +29,12 @@ replicated vm scp-endpoint my-test-vm
29
29
30
30
# Get SCP endpoint with a custom username
31
31
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
32
38
```
33
39
34
40
### Options
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The output will be in the format: ssh://username@hostname:port
11
11
You can identify the VM either by its unique ID or by its name.
12
12
13
13
Note: SSH endpoints can only be retrieved from VMs in the "running" state.
14
-
14
+
15
15
VMs are currently a beta feature.
16
16
17
17
```
@@ -29,6 +29,9 @@ replicated vm ssh-endpoint my-test-vm
29
29
30
30
# Get SSH endpoint with a custom username
31
31
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)
32
35
```
33
36
34
37
### Options
You can’t perform that action at this time.
0 commit comments