Hello,
I have an issue regarding SFTP access. I need to connect to an external SFTP to deliver files to a customer, and the process delivering files needs to migrate from one server to another on my side. Proper requests have been made into my organization to allow the traffic in the firewall for both servers, it has been checked recently and everything looks good. In my side, I don't see any difference in the WinSCP config between both servers.
From both servers, I can connect to the SFTP. But the write operation succeeds only from server A. When connected from server B, I receive an "access denied" message when I try a write operation, but I can connect.
This makes me think about a thing to whitelist on customer's side. A migration already happened in the past, and the project manager certifies that the only required thing at that time was to whitelist IPs on customer's side. Both A and B have the same external IP address (it has been checked), thus the problem is somewhere else.
Last year, I compared the logs produced by WinSCP to see what differs from A and B. You can see below the only relevant differences I spotted. From then to now, I believe some inertia made it to be forgotten by everybody.
Do you have an idea on what could differ between both server that could explain the current situation? Could it be that some Windows registry setting may force WinSCP to not consider using a protocol but another one instead?
Thanks,
Julien
Server A:
. 2023-10-10 19:07:25.030 Have a known host key of type rsa2
. 2023-10-10 19:07:25.045 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2023-10-10 19:07:25.358 Server also has ssh-ed25519/ecdsa-sha2-nistp521 host keys, but we don't know any of them
. 2023-10-10 19:07:25.358 Host key fingerprint is:
. 2023-10-10 19:07:25.358 ssh-rsa 4096 SHA256:blabla
Server B:
. 2023-10-06 20:35:51.926 Have a known host key of type ssh-ed25519
. 2023-10-06 20:35:51.929 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2023-10-06 20:35:52.008 Server also has ecdsa-sha2-nistp521/rsa-sha2-512/rsa-sha2-256/ssh-rsa host keys, but we don't know any of them
. 2023-10-06 20:35:52.008 Host key fingerprint is:
. 2023-10-06 20:35:52.008 ssh-ed25519 255 SHA256:gougou