Seems the problem is not ssh, but when you write to USB storage when connected to WiFi. Reading should be fine.