Ssh code guide

Hey guys (girls),

To bring myself up to speed with the whole ssh stuff for the N2, can someone recommend guids or books to learn this.
I can use putty and can connect to n2.
Need to learn to alter boot or config file… step by step, is there a list with command codes?
In the old days with ms dos, i new some itsibitsi stuf, but thats obsolete now…

So if someone can point me in the right direction, much obliged…

We do not have any guides for this as such, the easiest and most simple way to modify the config.ini is to use a microSD card reader or eMMC reader and open it on your computer.

Unless you have a specific requirement for modifying them then it should be left alone.

1 Like

For basic editing I would do the following once connected via SSH.

Mount flash as read write
mount -o remount,rw /flash

Go to the flash partition
cd /flash

Open config.ini in text editor
nano config.ini

Make your changes
Press ctrl+x to exit
It will ask you if you want to save changes
Press Y
It will ask where you want to save and will be pre populated with the original location.
Press Enter and it will save and take you back out to the shell.

1 Like