hostpubsha256.d 514 B

1234567891011121314
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: hostpubsha256
  4. Arg: <sha256>
  5. Help: Acceptable SHA256 hash of the host public key
  6. Protocols: SFTP SCP
  7. Added: 7.80.0
  8. Category: sftp scp
  9. Example: --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ= sftp://example.com/
  10. See-also: hostpubmd5
  11. ---
  12. Pass a string containing a Base64-encoded SHA256 hash of the remote
  13. host's public key. Curl will refuse the connection with the host
  14. unless the hashes match.