vim text replacement with nano.

This commit is contained in:
Philippe Favre
2024-10-21 19:02:23 +02:00
parent 4328116819
commit d050afd31f

View File

@@ -33,11 +33,11 @@ Modify the Dropbear configuration file to ensure it is set up correctly at boot
``` ```
- Edit the configuration file: - Edit the configuration file:
```sh ```sh
sudo vim config sudo nano config
``` ```
**Or**, for newer versions: **Or**, for newer versions:
```sh ```sh
sudo vim dropbear.conf sudo nano dropbear.conf
``` ```
- Add or modify the following options: - Add or modify the following options:
``` ```
@@ -52,7 +52,7 @@ Modify the Dropbear configuration file to ensure it is set up correctly at boot
If your server is located in a data center or an environment where a fixed IP address is required, it is recommended to configure a static IP: If your server is located in a data center or an environment where a fixed IP address is required, it is recommended to configure a static IP:
- Edit the file `/etc/initramfs-tools/initramfs.conf`: - Edit the file `/etc/initramfs-tools/initramfs.conf`:
```sh ```sh
sudo vim /etc/initramfs-tools/initramfs.conf sudo nano /etc/initramfs-tools/initramfs.conf
``` ```
- Add the static IP configuration: - Add the static IP configuration:
``` ```