Cannot connect to one of my host after upgrade to newest version
Recently, I upgraded my WinSCP to the newest version 6.5.2. After this upgrade, my program cannot connect to one of the hosts it usually connected with no issues. This program uses using .NET API of WinSCP. At the same time, GUI Win SCP connects to this host as usual, with no issues. Here is the code I use to connect using the API (in comments, I provide actual host data for a non-working host):
Last call returns error:
Protocol workingProtocol = Protocol.Sftp; SessionOptions sessionOptions = new SessionOptions { Protocol = workingProtocol, // PortNumber = port, // 22 HostName = hostName, // secure.unumprovident.com UserName = userName, // m3tech Password = userPassword, // ZAQ567#&uj SshHostKeyFingerprint = sshHostKeyFingerPrints, // ssh-dss 1024 lA6XsgTQv7l72zYGwnTDmNesvZ44LaqQXkOY7trRbxU= }; Session session = new Session(); session.Open(sessionOptions);
Can someone look and help?Network error: Connection to "secure.unumprovident.com" timed out.