Beaglebone + Dropbear SSH Port

–I am attempting to change the port that Dropbear listens on for SSH connections. However, I am having no luck whatsoever. The three approaches taken thus far are described below:

  1. Changed
ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22

to

ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 2222

inside of the file '/lib/systemd/system/dropbear@.service'

2) Edited '/etc/init.d/dropbear' and changed 'DROPBEAR_PORT=22' to 'DROPBEAR_PORT=2222'

3) Created a file '/etc/default/dropbear' and inserted the line 'DROPBEAR_PORT=2222'

None of these seemed to make any difference following a reboot.  Any help is appreciated.

Thanks,
Taylor

You need to change the .socket file to point to port 222 as well