1. Should be logged in as root or run this command in your console:
2. Update and upgrade the VPS, run this command in your console:
3. Install Dropbear SSH, run this command in your console:
4. Add this line, make this the first line in
* OPTIONAL, to change the port of dropbear, edit this line and change to your desired port, for example, listen to port
* Make sure you allow listening port on your firewall
5. Now, go to
6. FINALLY, reboot your VPS, run this command in your console:
Code:
sudo su
2. Update and upgrade the VPS, run this command in your console:
Code:
apt-get clean && apt-get update && apt-get upgrade -y && apt-get full-upgrade -y && apt-get --fix-missing install -y && apt-get autoremove -y && reboot
3. Install Dropbear SSH, run this command in your console:
Code:
apt install dropbear -y
4. Add this line, make this the first line in
/etc/default/dropbear
Code:
NO_START=0
* OPTIONAL, to change the port of dropbear, edit this line and change to your desired port, for example, listen to port
80
Code:
DROPBEAR_PORT=80
5. Now, go to
/etc/shells, add these lines at the end
Code:
/bin/false
/usr/sbin/nologin
6. FINALLY, reboot your VPS, run this command in your console:
Code:
reboot