Friday, July 4, 2014

Install Dropbear And Change Dropbear Port On Ubuntu

Make sure that your Ubuntu is up to date
sudo apt-get update && sudo apt-get upgrade -y
To install Dropbear, run this on terminal
sudo apt-get install dropbear
 To start and change dropbear port, make sure nano was installed and do this

  • Open dropbear configuration with "sudo nano /etc/default/dropbear"
  • Change "NO_START=1" to "NO_START=0"
  • On "DROPBEAR_PORT=22", change 22 to your desired port.
  • Save your changed configuration with Ctrl + o
  • Exit nano with Ctrl + x
  • Run your dropbear with "/etc/init.d/dropbear start"
if you want to add multiple port, for example you want to add port 443 and 143, do this
  • Open dropbear configuration with "nano /etc/default/dropbear"
  • Change "DROPBEAR_EXTRA_ARGS=" to DROPBEAR_EXTRA_ARGS="-p 443 -p 143"
  • Save and exit nano

0 comments:

Post a Comment