Via SSH you can use Nano to edit the file.
opkg update opkg install nano nano /etc/config/system
Do your edits and then press Control + O to save the file and Control + X to close Nano