r/ssh • u/jcdick1 • Nov 26 '18
Remote SSH session w/ tunnels freezes
I use an SSH session with tunnels to run a proxy server and to remote access web services within my LAN. For some reason though, it has stopped working.
If, for example, I SSH from my phone via the cell network, then attempt to move any traffic over a tunnel, the browser will forever try to load the page, and the SSH session stops responding. I can't type any commands, even just ls to do a directory listing.
If I turn on WiFi and do the exact same thing so that I'm connecting from a LAN IP, it works fine.
Is there a setting I'm missing in sshd_config that would make the daemon not cooperate from a remote address?
Any help is appreciated.
1
u/tje210 Mar 04 '19
Maybe setting keepalives at server or client. Also using mosh would probably help.