Feature Suggestion - Including Dropbear and Network by default #312
Replies: 6 comments 7 replies
-
The ZFSBootMenu recovery image includes basic networking, including For remote access via SSH, a custom ZBM image will always be required. |
Beta Was this translation helpful? Give feedback.
-
Perhaps directions on how users could add their own keys, etc. or add dropbear/tinyssh to the image? I've managed to set it up but I just get a feeling I'm not doing it correctly. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/zbm-dev/zfsbootmenu/wiki/Remote-Access-to-ZBM |
Beta Was this translation helpful? Give feedback.
-
Cf. https://github.com/zbm-dev/zfsbootmenu/blob/master/contrib/remote-ssh-build.sh |
Beta Was this translation helpful? Give feedback.
-
Sorry for reviving this discussion.
Here is the full log
any pointers is appreciated. I spent a couple of hours already trying to figure out what's wrong but I'm running out of ideas. |
Beta Was this translation helpful? Give feedback.
-
I was going to open a ticket with same feature request. I'm building custom zfsbootmenu image with docker and I have to install busybox, iputils, iproute2, dropbear and dracut-crypt-ssh in builder image (zbm-builder). Sometimes xbps-install fails and given that I know nothing about void and xbps it's difficult to make it work or find a reason in ideal case – it would be fantastic to have everything needed in pre-built images, so you will only need to enable it via command line
Well, it actually depends and if I want to deploy a new virtual machine in cloud with zfsbootmenu – I don't think that pre-build ssh server key will make the whole thing insecure. Another option would be to generate a new server ssh key on start and show a fingerprint
This could be done providing password in command line (insecure in general, but can be enough for some usages) or provide a public ed25519 key in command line (it's only 68 characters, so not a problem) If it's too much for you to include everything in pre-build zfsbootmenu images, may be at least include all of it in zbm-builder image? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I would like to suggest that you include Dropbear in ZBM builds by default. Dropbear and network could be enabled/configured via the commandline. If the ZBM EFI also includes gdisk (not needed if the disk is already formatted), then installing any new OS via chroot would be a breeze. And pretty much makes all the complicated installation instructions provided by OpenZFS redundant.
Beta Was this translation helpful? Give feedback.
All reactions