blob: c952485042a46de5fb6503177313dba04c8697c8 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: hostpubsha256
4Arg: <sha256>
5Help: Acceptable SHA256 hash of the host public key
6Protocols: SFTP SCP
7Added: 7.80.0
8Category: sftp scp
9Example: --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ= sftp://example.com/
10See-also: hostpubmd5
11Multi: single
12---
13Pass a string containing a Base64-encoded SHA256 hash of the remote
14host's public key. Curl will refuse the connection with the host
15unless the hashes match.