diff options
Diffstat (limited to 'docs/cmdline-opts/hostpubsha256.d')
-rw-r--r-- | docs/cmdline-opts/hostpubsha256.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/cmdline-opts/hostpubsha256.d b/docs/cmdline-opts/hostpubsha256.d new file mode 100644 index 000000000..81e6f9851 --- /dev/null +++ b/docs/cmdline-opts/hostpubsha256.d @@ -0,0 +1,11 @@ +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/ +--- +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. |