Node required password for shell

jorgeg73

Member
Jan 2, 2023
11
0
6
Hello all.
I have 3 node cluster, in two of them when i go to the shell it ask for a password. Even if i go to the shell of an lxc CT ask for this same password. then after the lxc user password. Is there a way to get the shell password gone?. on my other nodes does not require login.

Jan 14 20:03:07 miniproxmox2 systemd-logind[626]: New session 1016 of user root.
Jan 14 20:03:08 miniproxmox2 systemd[1]: Started session-1016.scope - Session 1016 of User root.
Jan 14 20:03:08 miniproxmox2 sshd[96324]: pam_env(sshd:session): deprecated reading of user environment enabled
Jan 14 20:03:08 miniproxmox2 login[96342]: pam_unix(login:session): session opened for user root(uid=0) by root(uid=0)
Jan 14 20:03:08 miniproxmox2 login[96347]: ROOT LOGIN on '/dev/pts/1' from '10.0.1.2'
Jan 14 20:03:10 miniproxmox2 sshd[96324]: Received disconnect from 10.0.1.2 port 36000:11: disconnected by user
Jan 14 20:03:10 miniproxmox2 sshd[96324]: Disconnected from user root 10.0.1.2 port 36000

Jan 14 20:03:10 miniproxmox2 sshd[96324]: pam_unix(sshd:session): session closed for user root
Jan 14 20:03:10 miniproxmox2 pmxcfs[1404]: [status] notice: received log
Jan 14 20:03:10 miniproxmox2 systemd-logind[626]: Session 1016 logged out. Waiting for processes to exit.
Jan 14 20:03:10 miniproxmox2 systemd[1]: session-1016.scope: Deactivated successfully.
Jan 14 20:03:10 miniproxmox2 systemd-logind[626]: Removed session 1016.
Jan 14 20:03:36 miniproxmox2 pveproxy[4006373]: worker exit
Jan 14 20:03:36 miniproxmox2 pveproxy[1647]: worker 4006373 finished
Jan 14 20:03:36 miniproxmox2 pveproxy[1647]: starting 1 worker(s)
Jan 14 20:03:36 miniproxmox2 pveproxy[1647]: worker 96840 started

This is the logfrom syslog on one of the three node, there is a similar log on the other node, on node 10.0.1.2 does not ask for for password

I have already delete the ssh keys and redo the ssh keys. No luck.
Any help? Thanks
1705290736973.png

1705291853565.png
 
Last edited:
Hi,

Asking the password of the LXC Console is expected. Regarding the nodes in a cluster, if the Shell asks for a password, you may have to re-new the certificates using `pvecm updatecerts --force` command.
 
@Moayad Sorry to revive this dead thread but I came across the same issue on my home server. I already tried deleting and regenerating my SSH key on the node. Not sure what else to do as I am extremely new to home networking and proxmox in general. I would also gladly accept a resource to learn from that explains/demonstrates/fixes this issue as opposed to a direct explanation!
 
Hi,

Have you tried `pvecm updatecerts --force`? Do you have a cluster or only one single node?
 
@Moayad Yes, I did try that. I'm on a single node, and I figured out that the issue was that this was the first time I logged into the the WebGUI as an admin account instead of the root. Thank you for your response!!
 
  • Like
Reactions: Moayad