aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/pubkey.d
diff options
context:
space:
mode:
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.)