pubkey.d 674 B

12345678910111213141516171819
  1. c: Copyright (C) 1998 - 2022, 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. (As of 7.39.0, curl attempts to automatically extract the public key from the
  16. private key file, so passing this option is generally not required. Note that
  17. this public key extraction requires libcurl to be linked against a copy of
  18. libssh2 1.2.8 or higher that is itself linked against OpenSSL.)