SurgeTeam fgprodigal Please, I figured out a way to use my SSH software connected on the same PC with Surge by setting the listening port on the SSH tunnel App to
ssh -N -D 127.0.0.1:1080 -o ServerAliveInterval=15 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 -o HostKeyAlgorithms=+ssh-rsa -p 22 email@example.com
and then setting Proxy in Surge to
ProxyB = socks5, 127.0.0.1, 1080
It connects and works very fine and very secured. It means I'm using double encryption: one on the SSH app(diffie-hellman-group-exchange-sha256) and the other on Surge (with the tls cipher TLS Protocol TLS 1.3 [HTTP/2.0] Cipher Suite 0x1302 TLS_AES_256_GCM_SHA384).
But here is the problem, I have to launch and connect the SSH App before launching Surge because surge won't let it connect if I launch surge first. If there's a drop in the connection on the SSH App, I have to quite surge first and then SSH tunnel app reconnects automatically and then launch Surge. Please, how do I tell Surge that the SSH tunnel App is the source so that it does not prevent the SSH app from connecting?