I tried to connect to server with sftp using FileZilla client and it let me input host, user name, and key file, also asked me accept any key. No password required. And connection was successful.
WinSCP ask for user name, password(?), key fingerprint(?), key file.
Is there a way to configure WinSCP to work like FileZilla?
I tried also setting up GiveUpSecurityAndAcceptAnySshHostKey = true, and getting key fingerprint with Session.ScanFingerprint(sessionOptions) function.