Nano is a text editor which runs as a textual application in a terminal window. It comes with ev3dev and can be used from a remote SSH session.
Open the editor by typing nano <file name>
into the terminal. You can navigate
an open file using the arrow keys.