Know it might be hard with licensing conflicts and limited support on platforms other than linux and android, but Mosh is an interesting tech for remote command line access...
https://mosh.mit.edu/
It has some very useful traits, esp going over a slow connection ....