The problem is in /usr/share/initramfs-tools/scripts/init-
premount/dropbear

Last line:
/sbin/dropbear

Obviously some parameters need to be added else it defaults to 22.
According to the dropbear man page it uses "-p [address | address:port |
port]" but each additional port requires a separate "-p" and it only
supports 10 ports maximum.

Workaround (untested):
dpkg-divert --rename --divert /usr/share/initramfs-tools/dropbear.original 
/usr/share/initramfs-tools/scripts/init-premount/dropbear
cp /usr/share/initramfs-tools/dropbear.original 
/usr/share/initramfs-tools/scripts/init-premount/dropbear

Edit /usr/share/initramfs-tools/scripts/init-premount/dropbear and add "-p 
[port number]" then execute:
update-initramfs -u

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/539904

Title:
  cannot change dropbear port (in initramfs)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/539904/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to