Can be minimized to a generic: " pscp -scp -batch -ls @@<IP>: "
C:\test> pscp -scp -batch -ls @@1.1.1.1:
The host key is not cached for this server:
1.1.1.1 (port 22)
You have no guarantee that the server is the computer you
think it is.
The server’s ssh-ed25519 key fingerprint is:
ssh-ed25519 255 SHA256:3ekRTrJ2XTqaFLa3tAs8ofxahVN8AiGs9ERQTsjqqOk
Connection abandoned.
FATAL ERROR: Cannot confirm a host key in batch mode
Then to subsequent uploads:
pscp -scp -batch -pw <password> -hostkey SHA256:3ekRTrJ2XTqaFLa3tAs8ofxahVN8AiGs9ERQTsjqqOk <the_source_file> <username>@1.1.1.1:<destination>