How to edit Ubiquiti PtP or PtMP configuration via SSH
Once an SSH connection has been established with the device, launch a VIM session in /tmp/system.cfg with vi /tmp/system.cfg
once the VIM session is open, navigate to the setting you wish to change, press i
to enter insert mode, make the necessary changes and press esc
to exit insert mode, repeat this for all other settings that need changing.
to save and exit the VIM session, press :
to open the command tool, followed by wq
(Write and Quit) and press enter
Now that the config file has been edited, save it to the system flash with cfgmtd -f /tmp/system.cfg -w
perform a warm-reboot with /usr/etc/rc.d/rc.softrestart save
, or a cold reboot with reboot