Re: Can connect to SFTP server from a command line but WinSCP fails....
You most likely have an old version of WinSCP, which does not support SHA2:
Issue 1952 – Support rsa-sha2-256 and rsa-sha2-512 SSH public key algorithms
Make sure you upgrade to the latest version.
Issue 1952 – Support rsa-sha2-256 and rsa-sha2-512 SSH public key algorithms
Make sure you upgrade to the latest version.