Skip to content

Commit

Permalink
doc: support for adding sftp:// protocol header (#4345)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro authored Jan 16, 2024
1 parent 3cd0726 commit 9f423fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/reference/how_to_set_up_object_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,6 @@ juicefs format \

#### Notes

- `--bucket` is used to set the server address and storage path in the format `<IP/Domain>:[port]:<Path>`. Note that the address should not contain a protocol header, the directory name should end with `/`, and the port number is optionally defaulted to `22`, e.g. `192.168.1.11:22:myjfs/`.
- `--bucket` is used to set the server address and storage path in the format `[sftp://]<IP/Domain>:[port]:<Path>`. Note that the directory name should end with `/`, and the port number is optionally defaulted to `22`, e.g. `192.168.1.11:22:myjfs/`.
- `--access-key` set the username of the remote server
- `--secret-key` set the password of the remote server
2 changes: 1 addition & 1 deletion docs/zh_cn/reference/how_to_set_up_object_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ juicefs format \

#### 注意事项

- `--bucket` 用来设置服务器的地址及存储路径,格式为 `<IP/Domain>:[port]:<Path>`。注意,地址中不要包含协议头,目录名应该以 `/` 结尾,端口号为可选项默认为 `22`,例如 `192.168.1.11:22:myjfs/`
- `--bucket` 用来设置服务器的地址及存储路径,格式为 `[sftp://]<IP/Domain>:[port]:<Path>`。注意,目录名应该以 `/` 结尾,端口号为可选项默认为 `22`,例如 `192.168.1.11:22:myjfs/`
- `--access-key` 用来设置远程服务器的用户名
- `--secret-key` 用来设置远程服务器的密码

Expand Down

0 comments on commit 9f423fd

Please sign in to comment.