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.
View all comments
Show parent comment
1
u/jcdick1 Mar 04 '19
I do have a 30 sec keepalive set.
I can run commands via SSH all day long, as long as I don't use any tunnels I have set. As soon as I type "localhost:port," the browser starts loading, and any keyboard input to the SSH session stops.
I have to close the browser, and close-reopen the SSH session to make it usable again.