FrreBSD 13.2 on DigitalOcean cloud can't be accessed

Hi all readers,

while DigitalOcean does not provide an image of FreeBSD (and I work ONLY with it) have got a cloud-image from https://bsd-cloud-image.org/ and loaded; once host (they call droplet) has been setup I discover that there is no way to login.

the use of password login is refused at creation time, while the use of public key ends with

Server refused public-key signature despite accepting key.

in short I feel able to rebuild a custom image with proper sshd_config modification but have not a working 13.2 host where to do the job.

can it be done on a FreeBSD 12.2-RELEASE-p7 host?

any suggestion on how reach goal with lowest effort ?

thanks
 
What I did was downloaded standard img customized /boot/loader.conf used usb stick img

Code:
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole,vidconsole"

not sure if that still works but used to, this is also required for linode.. but if you're looking for freebsd supported vps i think vulnr supports freebsd out of the box

basically what you do is create a partition to put hat image, set that disk as boot and install to the other part of the system.

Just found an other cheap one that supports freebsd kamatera never heard of it but found looking for an howto to setup pfsense on digitalocean

basically this is what you do I suppose and add the above to image to make it work.


use custom image instead of freebsd image
 
Alessandro, like Ofloo mentioned, Vultr supports FreeBSD.

I switched from DigitalOcean to Vultr when DigitalOcean stopped supporting FreeBSD.

The Vultr VM I have is small (1 vCPU, 512 MB RAM, 10 GB disk), yet it works well--and the monthly bill is only $3.50 USD.
 
What I did was downloaded standard img customized /boot/loader.conf used usb stick img

Code:
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole,vidconsole"

not sure if that still works but used to, this is also required for linode.. but if you're looking for freebsd supported vps i think vulnr supports freebsd out of the box

basically what you do is create a partition to put hat image, set that disk as boot and install to the other part of the system.

Just found an other cheap one that supports freebsd kamatera never heard of it but found looking for an howto to setup pfsense on digitalocean

basically this is what you do I suppose and add the above to image to make it work.


use custom image instead of freebsd image
hi Ofloo;

thank you for your answer, but none of suggestion is applicable while I have the image and it is uploaded as custom image (FreeBSD no longer exists) but at creation time there are just 2 choices about how to access the "droplet"

a) via SSH that later drive to denied access because of sshd_config
b) via password that immediately wake up a notice reporting it is unusable in creation of such droplet (feel it is ok for linux boxes)

about vulnr : will check, but I am just the IT boss; the company choosed D.O. by years and is not easy to force a new provider. Anyway will try, if no better way.

about pfsense article : it is simply not applicable, while even the first step can't be done; (the access is denied even using the recovery console, that requires a root password, that can't be set during creation)

wish you nice weekend
 
Alessandro, like Ofloo mentioned, Vultr supports FreeBSD.

I switched from DigitalOcean to Vultr when DigitalOcean stopped supporting FreeBSD.

The Vultr VM I have is small (1 vCPU, 512 MB RAM, 10 GB disk), yet it works well--and the monthly bill is only $3.50 USD.
hi robroy,

thank you for your time, but as I answer to Ofloo I can choose OS , not providers.
 
they have a js console window, you may try to boot in single user mode and try to fix it
hi covacat,

thank you for suggestion, but I try it before to look for help : the recovery console works, but require a password and the system can't be built using password authentication.

so it is possible to reach login, but it is not possible to have the passord
 
on some vps providers you can access the loader from the js console so you can boot in single user. cant rememeber if DO can do it
what i mean the console works before. the kernel loads so you can stop it and boot -s
 
like this
1692443926931.png

1692444109449.png
 
on some vps providers you can access the loader from the js console so you can boot in single user. cant rememeber if DO can do it
what i mean the console works before. the kernel loads so you can stop it and boot -s
solved,

to access console there is a trick : you must set the boot as "boot from recovery iso" instead of "boot from disk", shut down host, awake it up and then it is possible to change sshd_config.

but, in the specific case, the sshd_config is already ok!

the matter resides in peagent 0.76 that must be updated to 0.78

thank you for your time and suggestion, it allow me to point the true failure cause.
 
So I went on digitalocean created an image with the cloud image you said used option ssh-key then

1692461724476.png


The key is bound to user freebsd

after that

1692461872806.png



1692461960351.png


Didn't know the password either but after a few guesses found what user was bound to the cert
 

Attachments

  • 1692461916695.png
    1692461916695.png
    56.2 KB · Views: 119
great!

i redo droplet from scratch and test your suggestion : it goes on at first attempt.

thank you very much, it solves problem with minimal effort.
 
Back
Top