2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
2021-09-27 05:20:53 +08:00
|
|
|
Long: hostpubsha256
|
|
|
|
Arg: <sha256>
|
|
|
|
Help: Acceptable SHA256 hash of the host public key
|
|
|
|
Protocols: SFTP SCP
|
|
|
|
Added: 7.80.0
|
|
|
|
Category: sftp scp
|
|
|
|
Example: --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ= sftp://example.com/
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: hostpubmd5
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: single
|
2021-09-27 05:20:53 +08:00
|
|
|
---
|
|
|
|
Pass a string containing a Base64-encoded SHA256 hash of the remote
|
|
|
|
host's public key. Curl will refuse the connection with the host
|
|
|
|
unless the hashes match.
|