SCP broken

prpr

Well-Known Member
scp isn't working for me any more, on any of my boxes. It just generates this:
Code:
/usr/bin/dbclient: No such file or directory
lost connection

I can't see any recent-ish changes but note that the dropbear version is now up to 2020.79 so presumably was this year.
I'm reasonably sure I've used it in the last month or so though.
Anyone else?

Thankfully rsync still works.
 
A curious message on my HD-Fox too:

18/06/2020 02:05:05 - Automatically upgraded package dropbear-ssh from 2018.76-1 to none

And the top of /mod/var/opkg/beta looks corrupt:
Code:
Lost field 1ersion, 2020.79
Package: cfupdater
Version: 0.0.1
Depends: busybox, humidify, mtd-utils, procps
Section: misc
Architecture: mipsel
Maintainer: xyz321
MD5Sum: 520b38a524c4325096b864937b3eab8e
Size: 13214
Filename: cfupdater_0.0.1_mipsel.opk
Description: Custom firmware update utility (HDR-FOX-T2 only) - used in maintenance mode
Priority: optional


Package: dropbear-ssh
Version: none
Depends: libutil,service-control(>=2.0)
Conflicts: openssh
Suggests: greenend-sftp
Section: net
Architecture: mipsel
Maintainer: af123@hummy.tv
MD5Sum: a95748c56c813da92450a44bbf5e11cd
Size: 149332
Filename: dropbear-ssh__mipsel.opk
Description: Lightweight SSH2 server and client.
Provides secure remote access and file transfer capabilities.

Priority: optional

The control file in the beta package is corrupt: 1ersion instead of Version
@af123
 
Last edited:
Thanks - that updated dropbear was not supposed to be published as I stopped testing it when someone reported some regressions with parsing authorized_keys [sic] on the mailing list. I'll push an updated version to beta to fix scp though.
 
I restored normality for now by editing the /mod/var/opkg/beta file to remove the reference to the corrupt package, then removed and reinstalled, and back to 2018.76
 
Last edited:
dropbear-ssh_2020.79-3 is in the beta repository now. Working for me, including generating the new ed25519 host key if it's missing.
 
I can't get ed25519 keys to work.
Converting a private key from openssh to dropbear format and back again does not result in the same key.
The same test with ecdsa and rsa keys does.
So it looks like something is still broken.
 
I've had a similar issue on both my HDR-Fox T2's. Neither would accept an SSH connection and 'netstat -tln' showed that neither was listening on port 22 despite 2020.79-3 apparently being installed. No amount of force reinstalling would correct it - everything I tried complained that dropbear-ssh was 'not available from any configured src'.

Eventually found this is /mod/var/opkg/status

Code:
Package: dropbear-ssh
Version: none
Depends: libutil, service-control (>= 2.0)
Suggests: greenend-sftp
Provides:
Conflicts: openssh
Status: install user installed
Architecture: mipsel

Manually edited the version to 2020.79-3 and then did another force reinstall on both boxes which fixed it.
 
Back
Top