hostpubsha256.d 412 B

123456789101112
  1. Long: hostpubsha256
  2. Arg: <sha256>
  3. Help: Acceptable SHA256 hash of the host public key
  4. Protocols: SFTP SCP
  5. Added: 7.80.0
  6. Category: sftp scp
  7. Example: --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ= sftp://example.com/
  8. See-also: hostpubmd5
  9. ---
  10. Pass a string containing a Base64-encoded SHA256 hash of the remote
  11. host's public key. Curl will refuse the connection with the host
  12. unless the hashes match.