Skip to content

Commit 94926ee

Browse files
committed
guide: improve absolute paths (and note) for SSH x deps
per #1649 (review) and #1649 (review)
1 parent c27303b commit 94926ee

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

content/docs/user-guide/external-dependencies.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ $ dvc run -n download_file
5454

5555
```dvc
5656
$ dvc run -n download_file
57-
-d ssh://[email protected]/home/shared/data.txt \
57+
-d ssh://[email protected]/abs/path/to/data.txt \
5858
-o data.txt \
59-
scp [email protected]/home/shared/data.txt data.txt
59+
scp [email protected]/abs/path/to/data.txt data.txt
6060
```
6161

62-
> Please notice `/home/...` is an absolute path from the remote system's root.
62+
> ⚠️ Please notice `/abs/path/to/data` is an absolute path from the SFTP root
63+
> (not always configured to be the system root).
6364
6465
### Amazon S3
6566

@@ -96,15 +97,12 @@ $ dvc run -n download_file
9697

9798
```dvc
9899
$ dvc run -n download_file
99-
-d hdfs://[email protected]/home/shared/data.txt \
100+
-d hdfs://[email protected]/abs/path/to/data.txt \
100101
-o data.txt \
101102
hdfs fs -copyToLocal \
102-
hdfs://[email protected]/home/shared/data.txt \
103-
data.txt
103+
hdfs://[email protected]/abs/path/to/data.txt data.txt
104104
```
105105

106-
> Please notice `/home/...` is an absolute path from the remote system's root.
107-
108106
### HTTP
109107

110108
> Including HTTPs

0 commit comments

Comments
 (0)