| 1 |
Long: pubkey |
| 2 |
Arg: <key> |
| 3 |
Protocols: SFTP SCP |
| 4 |
Help: SSH Public key file name |
| 5 |
--- |
| 6 |
Public key file name. Allows you to provide your public key in this separate |
| 7 |
file. |
| 8 |
|
| 9 |
If this option is used several times, the last one will be used. |
| 10 |
|
| 11 |
(As of 7.39.0, curl attempts to automatically extract the public key from the |
| 12 |
private key file, so passing this option is generally not required. Note that |
| 13 |
this public key extraction requires libcurl to be linked against a copy of |
| 14 |
libssh2 1.2.8 or higher that is itself linked against OpenSSL.) |