blob: b2e11c024bc408fa04d01e9df2562f7cceea5089 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001Long: pubkey
2Arg: <key>
3Protocols: SFTP SCP
4Help: SSH Public key file name
5---
6Public key file name. Allows you to provide your public key in this separate
7file.
8
9If 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
12private key file, so passing this option is generally not required. Note that
13this public key extraction requires libcurl to be linked against a copy of
14libssh2 1.2.8 or higher that is itself linked against OpenSSL.)