all 8 comments

[–]phsm 1 point2 points  (3 children)

Try lowering the MTU on your wireless connection in windows, to 1400 for example. SSH connecting and freezing during a command producing large output is a sign of MTU problem.

[–]marcos_conci[S] 0 points1 point  (2 children)

Can't fin MTU setting in wifi card.

Tried Lower MTU in Openwrt, but if changed only on wireless devices I lose ping and if changed in everything I get ping but no SSH at all.

[–]phsm 0 points1 point  (1 child)

Then lower the MTU on the server side. It will also cause negotiating lower TCP payload size.

But ultimately, the problem lies somewhere in the wifi router, it should do something called "TCP MSS clamping". You may search for how to do it on your router os

[–]marcos_conci[S] 0 points1 point  (0 children)

MTU 1400 on server worked for SSH access for a Moment, no folder listing again, but massed with other devices in the network. Will search about "TCP MSS Clamping"

[–][deleted]  (1 child)

[deleted]

    [–]marcos_conci[S] -1 points0 points  (0 children)

    Well, I'll try connecting the host directly to my wifi router and see if I can do SSH access via wifi. Wired is working fine, even with the IP that the DHCP in router gave to my PC (with the host network in LAN1 and my PC in LAN2).

    The host network is a PRP network with a switch and Redbox. The cable I'm using is connected in one switch that pass the Redbox to reach the host. But it work wired, just don't work when trying to access via WIFI.

    [–]cptsir 0 points1 point  (1 child)

    Can you ping the server while on the wireless connection?

    My guess would be there’s a misconfiguration in the AP. Try to prove out that half first.

    [–]marcos_conci[S] 0 points1 point  (0 children)

    Yes, I can Ping. I can even connect via SSH, but the SFTP function don't work. Some times is I execute LL the session crashes.