mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
df45fd1794
gen.pl now insists on C: and SPDX-License-Identifier: fields to be present in all files. Closes #9002
21 lines
726 B
D
21 lines
726 B
D
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: pubkey
|
|
Arg: <key>
|
|
Protocols: SFTP SCP
|
|
Help: SSH Public key file name
|
|
Category: sftp scp auth
|
|
Example: --pubkey file.pub sftp://example.com/
|
|
Added: 7.16.2
|
|
See-also: pass
|
|
---
|
|
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.)
|