unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.89k stars 416 forks source link

No `dropbearconvert` on UDM Pro 2.4.7 #504

Open tomudding opened 1 year ago

tomudding commented 1 year ago

Describe the bug When using the 15-add-root-ssh-keys.sh (2.x variant), the following fails:

https://github.com/unifi-utilities/unifios-utilities/blob/6314d7afea13a15987e8c543e3763c528cfbc645/on-boot-script-2.x/examples/udm-files/on_boot.d/15-add-root-ssh-keys.sh#L41-L43

With the following message:

Converting SSH private key to dropbear format ./15-add-root-ssh-keys.sh: line 43: dropbearconvert: command not found

To Reproduce Steps to reproduce the behavior:

  1. Add the script and some SSH keys
  2. Execute the script
  3. Observe error of missing dropbearconvert

Expected behavior The script not to produce an error because some command is not present.

Screenshots image

UDM Information

Additional context N/A

tomudding commented 1 year ago

This was also in GH-497 (second error).

harrisonj94 commented 1 year ago

I am also experiencing this on Firmware Version: 2.4.27

johntdyer commented 1 year ago

This was also in GH-497 (second error).

Shame on me for batching two errors in one issue :)

sudo-kraken commented 1 year ago

This was also in GH-497 (second error).

Shame on me for batching two errors in one issue :)

Do you know the reason for this error?

johntdyer commented 1 year ago

@Joeharrison94 nope, zero idea... thanks for opening another ticket to try and get some answers :)

sudo-kraken commented 1 year ago

@johntdyer any update on this issue. Thanks