We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

dropbear ssh with key instead of password?

  • I'm using ssh-copy-id to copy my key to an OmegaS2+ so I can log in without a password from a known host.
    It claims to copy the key successfully, but subsequent logins still require password.

    kenny@totescore ~ % ssh-copy-id -oHostKeyAlgorithms=+ssh-rsa root@
    /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/kenny/.ssh/id_ecdsa.pub"
    /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
    /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
    root@'s password: 
    Number of key(s) added:        1
    Now try logging into the machine, with:   "ssh -o 'HostKeyAlgorithms=+ssh-rsa' 'root@'"
    and check to make sure that only the key(s) you wanted were added.

    Is it even possible to do this with Omega/dropbear?

  • @SpiderKenny You can use sshpass, here's my rough notes on how to use it to deploy firmware using scp and ssh with sshpass:

    // using sshpass to deploy new firmware
    ssh-keygen -f "/home/chris/.ssh/known_hosts" -R "fe80::42a3:6bff:fec3:cb5b%enp0s31f6"
    sshpass -ponioneer scp -6 -o StrictHostKeyChecking=no ~/source/bin/targets/ramips/mt76x8/openwrt-ramips-mt76x8-omega2p-squashfs-sysupgrade.bin root@[fe80::42a3:6bff:fec3:cb5b%enp0s31f6]:/tmp
    sshpass -ponioneer ssh -6 -o StrictHostKeyChecking=no root@fe80::42a3:6bff:fec3:cb5b%enp0s31f6 sysupgrade -n /tmp/openwrt-ramips-mt76x8-omega2p-squashfs-sysupgrade.bin

Log in to reply

Looks like your connection to Community was lost, please wait while we try to reconnect.