digital ocean -- issue!

bruce badouglas at gmail.com
Sun Dec 17 00:30:17 UTC 2023


Hi Karl.

DO provides a 'field' for using ssh user/key, or the user/passwd to
access the new droplet. I'm actually looking to simply use the
existing ssh user/key, or user/passwd in the /etc/passwd  --
/etc/ssh/sshd_config.. in other words -- LEAVE IT ALONE!!

But, I discovered if I do select one of the above.. I can then access
the new droplet.. but when I compare the passwd/sshd_config files..
they aren't the same as the initial droplet!

As to DO, they don't seem to support!!

thanks

On Sat, Dec 16, 2023 at 7:03 PM Karl Auer <kauer at biplane.com.au> wrote:
>
> On Sat, 2023-12-16 at 13:07 -0500, bruce wrote:
> > I'm testing digitalocean (DO) for the creation of an initial droplet
> > running apache, as well as being able to "completely" clone the
> > droplet, to be able to have multiple copies of the "droplet" running
> > at the same time if I wish.
> >
> > I did manage to get it to "connect" once/twice, but the
> > passwd/sshd_config files didn't match the initial droplet!!!!
>
> How do you know those files didn't match? Were you able to log all the
> way in and inspect them?
>
> Bear in mind that creating an instance from a snapshot is not really
> creating a 1:1 copy of the image. Behind the scenes, DO is almost
> certainly doing other stuff (I don't know this - I am surmising).
>
> If your snapshot has hardcoded network stuff - anything but DHCP - your
> new droplet won't be contactable. The network interface names known to
> the new droplet may be different from those of the original droplet,
> again meaning you can't really hardcode anything and expect a clone to
> work.
>
> Finally, (and again I'm guessing) the new droplet probably needs new
> access rules (if DO has external-to-the-droplet access controls).
>
> > Oh, I can ping the new droplet.
>
> Well - you can ping something that has the address you think the new
> droplet has. How do you know the address you are pinging is that of the
> new droplet? Networking in a virtual environment can be very funky.
>
> Sorry, I'm not a DO user...
>
> Regards, K.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au)
> http://www.biplane.com.au/kauer
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



More information about the ubuntu-users mailing list