2
0

hostpubsha256.d 528 B

123456789101112131415
  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. Multi: single
  12. ---
  13. Pass a string containing a Base64-encoded SHA256 hash of the remote
  14. host's public key. Curl will refuse the connection with the host
  15. unless the hashes match.