aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/key.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/key.d')
-rw-r--r--docs/cmdline-opts/key.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/cmdline-opts/key.d b/docs/cmdline-opts/key.d
new file mode 100644
index 000000000..fbf583af0
--- /dev/null
+++ b/docs/cmdline-opts/key.d
@@ -0,0 +1,10 @@
+Long: key
+Arg: <key>
+Protocols: TLS SSH
+Help: Private key file name
+---
+Private key file name. Allows you to provide your private key in this separate
+file. For SSH, if not specified, curl tries the following candidates in order:
+'~/.ssh/id_rsa', '~/.ssh/id_dsa', './id_rsa', './id_dsa'.
+
+If this option is used several times, the last one will be used.