SSHServerFingerprint Parameter (Connect-SFTP Cmdlet)
Specifies one or more SSH host key fingerprints that the provider accepts as valid when verifying the server identity.
Syntax
Connect-SFTP -SSHServerFingerprint string
Data Type
cstr
Default Value
""
Remarks
This property sets the expected fingerprint(s) of the SSH host key used by the server.
Fingerprints are used to verify the server's identity during connection and help protect against connecting to an untrusted server.
You can provide a comma-delimited list of 16-byte MD5 fingerprints in hexadecimal format, using colon separators. For example:
SSHServerFingerprint=0a:1b:2c:3d
If the server's fingerprint matches any of the provided values, the 本製品 accepts the host key and establishes the connection.