SSH into server - Password changed

After I installed NextCloud onto my server it has changed my logon and password for SSH. Any idea what it could be? I tried the password that I use to log on as ADMIN to the NEXTCLOUD but that dont work. The password that I used to initially set up Ubuntu does not work. I have done this a few times and each time i install NextCloud it changes the ROOT password to something that I do not know. Any ideas?

Something like that is simply not possible. You are obviously drawing the wrong conclusions.
Apart from the fact that you should always configure SSH for key identification.

Of course not. It is on a complete other level, another server.

When you setup Ubuntu, you can, but normally do not give root a password. You create a user with sudo rights. Root normally do not have a password until you explicitly assign one.

Ok I have setup the server AGAIN. this time with a username and password on ununtu without root and the USER ID and password as soon as i run the setup portion thru the web browser the password changes for the UBUNTU SERVER SSH logon. Every single time. Not sure why but it just keeps happening. Totally fresh installs each time

As stated above this is not possible unless your using a 3rd party script that is not Nextcloud related.

If your so sure this is Nextcloud issue please provide logs of your installation setup and the tutorial or instructions followed from the manual.

ps. Why after so many failures do you not create a backup user with sudo rights.

I had given up back in 2023 and now i am trying to use the software again and again having the same issues. As soon as the install from the web interface is executed I get the same issue. The password for the main user for ubuntu is changed. Where can i get these logs that were asked for if you need them again.

so this time i left the terminal open and logged in AFTER the install and was able to pop back in as i was SU in ubuntu and change the passwd BACK to what it was and able to log on AFTER that. Not sure why this happens. But it should not be happening.

For reference I am installing Nextcloud via the install process within ubuntu server so not sure if that makes a difference or not

Please provide specific details that allow us to reproduce the issue. Start with the hardware, the installation media, and the keyboard settings (cat /etc/default/keyboard). Also, share the locale configuration (localectl status), the SSH client you use to connect to the server, and its setup (including terminal emulation).

Describe each step you took in exact order. For instance, when you created the password, did you ensure your keyboard layout was correctly set up, or did you perhaps create the password using a different layout (e.g., typing with QWERTY but intending to use QWERTZ)?

You should also check if, and by whom or what, your password was changed. This is recorded in the logs.

sudo grep passwd /var/log/auth.log


Much and good luck,
ernolf