curl/docs/cmdline-opts/hostpubmd5.md
Yedaya Katsman 62bfcb0c44
help: add flags to output and ssh categories
- Add --output, --remove-on-error, --output-dir and --created-dirs to
  the output help category

- Add --hostpubmd5, --hostpubsha256, --insecure (-k), and --pubkey to
  the ssh help category

Closes #14076
2024-07-04 09:58:23 +02:00

568 B

c SPDX-License-Identifier Long Arg Help Protocols Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl hostpubmd5 <md5> Acceptable MD5 hash of host public key SFTP SCP 7.17.1 sftp scp ssh single
hostpubsha256
--hostpubmd5 e5c1c49020640a5ab0f2034854c321a8 sftp://example.com/

--hostpubmd5

Pass a string containing 32 hexadecimal digits. The string should be the 128 bit MD5 checksum of the remote host's public key, curl refuses the connection with the host unless the checksums match.