pubkey.d 664 B

12345678910111213141516171819
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: pubkey
  4. Arg: <key>
  5. Protocols: SFTP SCP
  6. Help: SSH Public key file name
  7. Category: sftp scp auth
  8. Example: --pubkey file.pub sftp://example.com/
  9. Added: 7.16.2
  10. See-also: pass
  11. Multi: single
  12. ---
  13. Public key file name. Allows you to provide your public key in this separate
  14. file.
  15. curl attempts to automatically extract the public key from the private key
  16. file, so passing this option is generally not required. Note that this public
  17. key extraction requires libcurl to be linked against a copy of libssh2 1.2.8
  18. or higher that is itself linked against OpenSSL. (Added in 7.39.0.)