PVE 7 unable ssh to root

Mikey6283

Member
Jul 14, 2021
58
0
6
73
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!