Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CLI URI information to provide credentials #503

Merged
merged 2 commits into from
Mar 25, 2024
Merged
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
4 changes: 2 additions & 2 deletions cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ The `<url>` argument for `--copy`, `--download`, `--upload`, and `--synchronize`

- Each URL must start with a scheme and a colon (`https:`) unless you specify a `--profile`.
- Depending on the type of protocol you are referencing different rules apply
- For all protocols where no default hostname is set (e.g. `WebDAV`, `SFTP`, and `FTPS`) you must use a fully qualified URI `https://user@hostname/path`
- For all protocols where no default hostname is set (e.g. `WebDAV`, `SFTP`, and `FTPS`) you must use a fully qualified URI: `https://user@hostname/path` or `sftp://user:password@hostname/path`
- For all protocols where a default hostname is set, but you are allowed to change it (e.g. S3) you may use fully qualified URIs or
*Absolute paths:* `s3:/bucket/path`,
*Relative paths:* `s3:user@path` or `s3:user@/path`.
Expand Down Expand Up @@ -252,7 +252,7 @@ Throttle bandwidth to the number of bytes per second.

### Credentials

You can pass username as part of the URI prepending to the hostname with `username@host`. Alternatively, use the `--username` option. You can give the password with the `--password` option or you will be prompted before the connection is opened by the program if no password matching the host is found in your login keychain (OS X) or user configuration shared with Cyberduck (Windows).
You can pass username and password as part of the URI prepending to the hostname with `username:password@host`. Alternatively, use the `--username` option. You can give the password with the `--password` option or you will be prompted before the connection is opened by the program if no password matching the host is found in your login keychain (OS X) or user configuration shared with Cyberduck (Windows).

#### Private Key

Expand Down
Loading