Hacker News new | ask | show | jobs
by PaulHoule 1560 days ago
Couldn’t that blow up your phone? I could cat a million line file and it would take some time before I could do the equivalent of ctrl-c or close session.
1 comments

The agent running on the remote machine would need to be aware of this issue and filter out long responses.
Yes, for example, just update the screen no more than once every few seconds. With no compression you can send chained 153 ascii character messages is only 13-14 SMS messages. With any compression, I suspect you could get refresh rates for most commands in less than a second in response to reasonable commands. Unreasonable command responses you could simply ^C or otherwise terminate the script.