curl-curl/docs/cmdline-opts/pass.md
Daniel Stenberg 1f0f0bdb19
managen: strict protocol check
- protocols MUST match one in the accept-list
- protocols are typically all uppercase
- drop All
- use SCP and SFTP instead of SSH
- add Protocols: to some options previously missing one

Closes #18675
2025-09-22 09:06:00 +02:00

21 lines
368 B
Markdown

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: pass
Arg: <phrase>
Help: Passphrase for the private key
Protocols: TLS SCP SFTP
Category: ssh tls auth
Added: 7.9.3
Multi: single
See-also:
- key
- user
Example:
- --pass secret --key file $URL
---
# `--pass`
Passphrase for the private key used for SSH or TLS.