Difference between revisions of "Dropbear"

From Amahi Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
[[Open_Terminal_as_root|Open terminal as root user]] and do the following:
 
[[Open_Terminal_as_root|Open terminal as root user]] and do the following:
 
* Edit ''/etc/default/dropbear'' and change '''''2222''''' to desired port number.
 
* Edit ''/etc/default/dropbear'' and change '''''2222''''' to desired port number.
{{Text|Text=# the TCP port that Dropbear listens on
+
# the TCP port that Dropbear listens on
DROPBEAR_PORT=2222}}
+
DROPBEAR_PORT=2222
  
 
* Save and restart the service:
 
* Save and restart the service:
{{Code|sudo service dropbear restart}}
+
sudo service dropbear restart
  
 
Now you can access your HDA via the new port number.
 
Now you can access your HDA via the new port number.

Latest revision as of 17:04, 9 January 2021

The SSH port can be easily changed in Dropbear.

Open terminal as root user and do the following:

  • Edit /etc/default/dropbear and change 2222 to desired port number.
# the TCP port that Dropbear listens on

DROPBEAR_PORT=2222

  • Save and restart the service:
sudo service dropbear restart

Now you can access your HDA via the new port number.