paxut.blogg.se

Remove dropbear ssh server on router
Remove dropbear ssh server on router













remove dropbear ssh server on router

I added my usual public key file to dropbear's known hosts in the server's /etc/initramfs-tools/root/.ssh/authorized_keys and tried to ssh with my usual key. These are scripts that worked in older install!

remove dropbear ssh server on router

  • Custom hook scripts seem to be partially ignored.
  • With which dropbear drops to password authentication and wants the root password, that is not set. Solved: Dropbear wants a passphrase for the key, which I do not have.
  • Dropbear ignores all public keys other than its own in /etc/initramfs-tools/root/.ssh/authorized_keys (tested with dss - maybe also rsa).
  • So I tried the listed wrong IP with: ssh -vv -i ~/.ssh/dropbear_dss_host_key -o 'UserKnownHostsFile=~/.ssh/known_hosts.initramfs' That connects to dropbear but: I found in my router's "connected devices" site, that the server has the ip 192.168.0.27 despite my configuration. To my surprise two three things are malfunctioning: So I copied the auto-generated ssh-key and did a minimal configuration of dropbear. o 'UserKnownHostsFile=~/.ssh/known_hosts.initramfs' # on client Ssh -vv -i ~/.ssh/id_rsa_dropbear_server \ Scp server:/tmp/id_rsa ~/.ssh/id_rsa_dropbear_server # on client Sudo cp /etc/initramfs-tools/root/.ssh/id_rsa /tmp # BETTER! # WRONG: sudo cp /etc/dropbear/dropbear_*_host_key /tmp

    remove dropbear ssh server on router

    Sudo sed -i 's/DEVICE=.+/DEVICE=etho0/g' \ Sudo sed -i 's/BUSYBOX=y/BUSYBOX=y\nDROPBEAR=y\n/g' \ Sudo sed -i 's/NO_START=1/NO_START=0/g' /etc/default/dropber Sudo apt-get install dropbear busybox # on server I went thtrough the standard shenanigans with dropbear and busybox, i.e.: # INSTALL It is a clean 14.04.2 install with all updates as of writing. I'm trying to unlock a headless server running an encrypted version of Ubuntu 14.04.















    Remove dropbear ssh server on router