Open TomQv opened 3 months ago
Ok, did some more tests, seems like is was my router. I disconnected from Wifi and used mobile data, then it worked. Then I restarted my router and then it also worked with Wifi. No timeouts anymore. Strange, but it looks like, as it was no SSH.NET problem.
Yeah so despite the stack trace the real problem is waiting too long in Socket.Connect:
I imagine (or hope) you would observe a similar hang without the library:
using System.Net.Sockets;
using var socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
socket.Connect("files.qvgps.com", 22);
I'm only receiving Timeout-Exception trying to connect to my ftp-server with iOS:
With UWP, it works fine.
SSH.NET 2024.1.0 Visual Studio Community 2022 for Mac Version 17.6.12 (build 410) Xamarin.iOS Version: 16.4.0.23 Visual Studio Community
Are there maybe any additional steps required on iOS to use sftp?