First of all, my setup :
- Windows 7 station running PuTTY
- Android Lollipop (5.1.1) device, connected via USB to my PC + enabled the "USB modem" option
- "Proxy Server" (https://play.google.com/store/apps/details?id=com.icecoldapps.proxyserver
) configured and running on the phone
- a Linux box with a public IP running OpenSSH
- the whole SSH setup is ok (albeit not optimal) since I've already been able to connect to this box via SSH via other means.
- I can successfully open an SSH session with PuTTY, but it dies shortly (~10 seconds)
- if I open an SSH session and generate some traffic (like running the "top" shell command), the connection lasts as long as top is running. If I stop "top", the connection dies within seconds
- alter PuTTY settings : no change
- disable the phone network 4G connection (force it to 3G/H/H+) : no change
- I was considering updating the OpenSSH configuration when I found the solution :
==> in the "Proxy Server" settings, just set the connection timeout to a larger value. Problem solved !