While FreeBSD is not longer listed in available OS i follow instructions to upload a custom image, that i found at https://bsd-cloud-image.org/ ; anything goes but at first login i get
Server refused public-key signature despite accepting key.
that, as far as i know, depends on a sshd_config parameter.
to walkaround the matter i try to set password login at droplet creation time, but it is denied.
thus even recovery console, that require the root password, became unusable.
so the question is : must i create a custom personalized image? if yes the matter moves to : can i use an existing FreeBSD 12 droplet to build the needed FreeBSD 13 image with sshd_config adequate to D.O. login requirements?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
You can use your existing FreeBSD 12 droplet to build the needed FreeBSD 13 image with an sshd_config that matches DigitalOcean’s login requirements. Ensure to set your
sshd_config
file with ‘PermitRootLogin prohibit-password’ to allow key-based authentication.If you are still getting the same error, Server refused public-key signature despite accepting key, try regenerating the SSH keys on your server or your local machine, and re-adding them.
Regards
Hi there,
Indeed, as you mentioned you could try creating a customized FreeBSD image where you’ve pre-configured the
sshd_config
with the correct parameters for public key authentication.Alternatively, if you already have a FreeBSD 12 Droplet, you could take a snapshot and then spin up a new Droplet based on that snapshot.
After that you could upgrade the new Droplet to FreeBSD 13 as described in the FreeBSD docs here:
Hope that this helps!
Best,
Bobby