aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/pubkey.d
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-28 00:50:25 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-28 00:50:25 +0100
commit5c4a526388e5d45f332d241b03114eaff98c53ce (patch)
treee6f7e4c19074b9a892b5d3c80aaed6722f8c096d /docs/cmdline-opts/pubkey.d
parent720ea577dc2f850c24adbba463e307eed017bc11 (diff)
cmdline-opts: more command line options documented
Moved over to the new format
Diffstat (limited to 'docs/cmdline-opts/pubkey.d')
-rw-r--r--docs/cmdline-opts/pubkey.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/cmdline-opts/pubkey.d b/docs/cmdline-opts/pubkey.d
new file mode 100644
index 000000000..b2e11c024
--- /dev/null
+++ b/docs/cmdline-opts/pubkey.d
@@ -0,0 +1,14 @@
+Long: pubkey
+Arg: <key>
+Protocols: SFTP SCP
+Help: SSH Public key file name
+---
+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.)