xref: /curl/docs/cmdline-opts/hostpubmd5.md (revision fe9f68fa)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: hostpubmd5
5Arg: <md5>
6Help: Acceptable MD5 hash of host public key
7Protocols: SFTP SCP
8Added: 7.17.1
9Category: sftp scp
10Multi: single
11See-also:
12  - hostpubsha256
13Example:
14  - --hostpubmd5 e5c1c49020640a5ab0f2034854c321a8 sftp://example.com/
15---
16
17# `--hostpubmd5`
18
19Pass a string containing 32 hexadecimal digits. The string should be the 128
20bit **MD5** checksum of the remote host's public key, curl refuses the
21connection with the host unless the checksums match.
22