mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
62bfcb0c44
- Add --output, --remove-on-error, --output-dir and --created-dirs to the output help category - Add --hostpubmd5, --hostpubsha256, --insecure (-k), and --pubkey to the ssh help category Closes #14076
693 B
693 B
c | SPDX-License-Identifier | Long | Arg | Protocols | Help | Category | Added | Multi | See-also | Example | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | curl | pubkey | <key> | SFTP SCP | SSH Public key filename | sftp scp ssh auth | 7.16.2 | single |
|
|
--pubkey
Public key filename. Allows you to provide your public key in this separate file.
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. (Added in 7.39.0.)