Editor to use in SSH to edit a file on the iPhone

Hello,

Sorry if this is a stupid question to most of you...but it's been awhile for me. Ok the question...

I have OpenSSH running on the iPhone and SSHPro on my desktop...I can login fine to the iPhone and navigate to the directory to the file I want to edit, BUT I don't know what editor the iPhone has natively. I tried 'vi', 'edit' and 'ed' but I got nothin.

Any help here?

Thanks,
Bill
On Mac, I use Cyberduck. Windows I just use iPhone Browser. You can find both using google.

Much easier than trying to go through and use command line like scripts.
Excellent. Much easier than vi anyday. Thanks very much!
Does anybody have any experience with iPhone Explorer and Good Reader ? If so do or did you like using them ? Thanx, HAND/MGB IGoSlo

Original thread: https://forums.imore.com/threads/editor-to-use-in-ssh-to-edit-a-file-on-the-iphone.176044/