PVE 7 unable ssh to root

Mikey6283

Member
Jul 14, 2021
58
0
6
75
Hi , I have installed Proxmox 7, however when i try to ssh into root i cannot make connection. However if i use the shell there is no problem. The password is correct.
I have tried different computers same results.

Any Ideas please.
 
Thanks for you help and advice , for some reason it is now working.
You need to manually allow it. By default it is forbidden to be able to login as root with a password (and it is good that it is forbidden because that would make the server more unsecure). You could allow it by editing the line "# PermitRootLogin password-prohibit" to "PermitRootLogin yes" in /etc/ssh/sshd_config and then restarting your ssh server using systemctl restart ssh.
 
  • Like
Reactions: preseason