mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
ce6e3e5320
Since "too old" versions are no longer included in the generated man page, this field is now mandatory so that it won't be forgotten and then not included in the documentation. Closes #7786
18 lines
609 B
D
18 lines
609 B
D
Long: pubkey
|
|
Arg: <key>
|
|
Protocols: SFTP SCP
|
|
Help: SSH Public key file name
|
|
Category: sftp scp auth
|
|
Example: --pubkey file.pub sftp://example.com/
|
|
Added: 7.16.2
|
|
---
|
|
Public key file name. Allows you to provide your public key in this separate
|
|
file.
|
|
|
|
If this option is used several times, the last one will be used.
|
|
|
|
(As of 7.39.0, curl attempts to automatically extract the public key from the
|
|
private key file, so passing this option is generally not required. Note that
|
|
this public key extraction requires libcurl to be linked against a copy of
|
|
libssh2 1.2.8 or higher that is itself linked against OpenSSL.)
|