hostpubsha256.d 391 B

1234567891011
  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. ---
  9. Pass a string containing a Base64-encoded SHA256 hash of the remote
  10. host's public key. Curl will refuse the connection with the host
  11. unless the hashes match.