Similar here: I was trying to troubleshoot a remote system where /usr wouldn't mount, so no termcap, not readline, no lib_anything_helpful_whatsoever.so, nothing. I figured if I were competent with vi then I could at least hack around a bit with ed, and I was right.
wouldn't it have been easier to just edit the files on a local machine?
Possible this predates widespread rollout of SCP and the host didn't have RCP enabled.