Skip to content

1. First login

ssh username@server_ip

Type your password at first login password change is requested, then verify if you are logged in as the root user.

After logging in, you may want to set your preferred editor for editing configuration files. Use the following command:

sudo update-alternatives --config editor

This will show a list of available editors. Select the number corresponding to your choice (e.g., vim, nano, etc.).

There are 4 choices for the alternative editor (providing /usr/bin/editor).
Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/nano 40 auto mode
1 /bin/ed -100 manual mode
2 /bin/nano 40 manual mode
3 /usr/bin/vim.basic 30 manual mode
4 /usr/bin/vim.tiny 15 manual mode
Press <enter> to keep the current choice[*], or type selection number: