Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some issues #8

Open
madness85 opened this issue Jun 7, 2020 · 3 comments
Open

some issues #8

madness85 opened this issue Jun 7, 2020 · 3 comments
Labels
inquiry/question Further information is requested

Comments

@madness85
Copy link

Followed the guide here about 10 times and i cant get it working on ubuntu 20.04

ssh: connect to host IP port 21: Connection refused

Some errors here
Untitled

@ceremcem ceremcem added the inquiry/question Further information is requested label Jun 9, 2020
@ceremcem
Copy link
Owner

ceremcem commented Jun 9, 2020

The dropbear executable can not be found, it is not copied to the initial ramdisk. Did you have dropbear installed on that system before running update-initrd?

@madness85
Copy link
Author

The dropbear executable can not be found, it is not copied to the initial ramdisk. Did you have dropbear installed on that system before running update-initrd?

I think the issue was because i didn't add initramfs to crypttab like so: home /dev/sda5 none luks,initramfs

I followed this tutorial https://www.arminpech.de/2019/12/23/debian-unlock-luks-root-partition-remotely-by-ssh-using-dropbear/

Now when i remove his and try install yours i get /sbin/dropbear not found error.

@ceremcem
Copy link
Owner

ceremcem commented Jun 9, 2020

I added initramfs-helpers.

  1. Verify that you have dropbear installed (apt-get install dropbear and not dropbear-initramfs as in the other tutorial)
  2. Verify that you have followed this HOWTO's steps from top to bottom, not mixed with another HOWTO.
  3. After update-initramfs ... step, unpack your initramfs and verify that you have dropbear copied to the initramfs. Mine looks like:
$ sudo find initrd.d/ -name dropbear
initrd.d/etc/dropbear
initrd.d/scripts/init-bottom/dropbear
initrd.d/scripts/init-premount/dropbear
initrd.d/usr/sbin/dropbear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inquiry/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants