I am trying to copy from file share to sftp and getting the below error.
Message=Meet network issue when connect to Sftp server 'xxx', SocketErrorCode:
'TimedOut'.,Source=Microsoft.DataTransfer.ClientLibrary.SftpConnector,''Type=System.Net.Sockets.SocketException,
Message=A connection attempt failed because the connected party did not properly respond after a period of time,
or established connection failed because connected host has failed to respond,Source=Renci.SshNet,'"
However, the same pipeline works in a different environment (to the same sftp server). I have compared the linked service, dataset and the pipeline code between the two environments are they are the same.
When I test the connection in the linked service, it is successful. Any pointers on the above error will be helpful, thanks.

