Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

# Topic review

martin

## Re: Host key fingerprint is ssh-rsa 2048 - SAP integration. Invalid

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
luirodzu

## Re: Host key fingerprint is ssh-rsa 2048 - SAP integration. Invalid

hi martin,

Now, the error change.

I attached the error image.

martin wrote:

luirodzu

## Host key fingerprint is ssh-rsa 2048 - SAP integration. Invalid

Hi,

I am integrating SAP with Winscp, through commands.
When I try to open the connection, I get the following error:
batch abort Searching for host... Connecting to host... Authenticating... Continue connecting to an unknown server and add its host key to a cache? The server's host key was not found in the cache. You have no guarantee that the server is the computer you think it is. The server's RSA key details are: Algorithm: ssh-rsa 2048 SHA-256: /l0aIuvWvzSnpwgcCDjyIdxfSOPHs59C8kIsxSkF7KA= MD5: 29:5d:50:6e:8f:0f:a5:6a:c2:c0:f8:0b:26:fe:a8:c3 If you trust this host, press Yes. To connect without adding host key to the cache, press No. To abandon the connection press Ca In scripting, you should use a -hostkey switch to configure the expected host key. (Y)es, (N)o, C(a)ncel (10 s), (C)opy Key, (P)aste key: Cancel Host key wasn't verified! Host key fingerprint is ssh-rsa 2048 /l0aIuvWvzSnpwgcCDjyIdxfSOPHs59C8kIsxSkF7KA=. Authentication failed. External program terminated with exit code 1

This is the command:
/command "option batch abort" "open sftp://user:pass@1url:222/"