root@pve's password in Welcome-Screen #239
-
|
Hello everyone, when I start updates, I’m asked for the root password after each LXC container: Example: --- APT CLEANING --- --- Skip Extra Updates because of Headless Mode or user settings --- --- Check Status for Welcome-Screen --- Thanks for your help! Best regards! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 4 replies
-
|
The "problematic" code part for you is here: maybe you change your hostname after installation, and now, you node don't know himself. To fix this pls make an on the node, you run the updater: then you will be asked if you want to add the host to "known hosts". Accept this, and the problem should be gone ;) |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for the quick reply! I tried it as described – result is in the screenshot. |
Beta Was this translation helpful? Give feedback.
-
|
I already tried it – here’s the result: root@pve:~# ssh $HOSTNAME |
Beta Was this translation helpful? Give feedback.
-
|
pls tryout this: after this, Ist ok, because you are loged in as root an switch to root user. So no problematic code and no security risks ;) |
Beta Was this translation helpful? Give feedback.
-
|
Oh damn, it’s still not working… Thanks again for all the tips! Here’s the output: root@pve:~# ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -N "" |
Beta Was this translation helpful? Give feedback.
-
|
The lines in my case had been commented out. I uncommented them, and now everything works again! Thank you for the fast and effective help! By the way: after making the change I tried ssh $HOSTNAME again, and I get the same response: root@pve: I wish you a nice weekend and stay just the way you are! |
Beta Was this translation helpful? Give feedback.
-
|
Nice to hear ;) |
Beta Was this translation helpful? Give feedback.

The lines
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
in my case had been commented out. I uncommented them, and now everything works again! Thank you for the fast and effective help!
By the way: after making the change I tried ssh $HOSTNAME again, and I get the same response:
root@pve:
# nano /etc/ssh/sshd_config#root@pve:
root@pve:
## sudo systemctl restart sshroot@pve:
root@pve:~# ssh $HOSTNAME
root@pve's password: Permission denied, please try again.
root@pve's password:
I wish you a nice weekend and stay just the way you are!
Best regards
Andre