aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/key.d
blob: fbf583af0b899fcd457477508471ce791dce8d0f (plain)
1
2
3
4
5
6
7
8
9
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.