Debian bookworm VM: SSH access denied

NAS_making

New Member
Sep 20, 2024
4
0
1
Dear all,
I set up a Debian VM, selecting openSSH among the available options during the installation.
I can see the VM with putty, but I cannot access it. In Proxmox console I can correctly log with root and its password.
Here you have the putty output:

The same password is not accepted when trying to log in from Putty:
Code:
login as: root
root@192.168.0.233's password:
Access denied

It's the first time that I set a debian VM from the ISO, the idea is to install DOCKER in it for testing Frigate.
 
Root SSH login via password is disabled by default. The option you're looking for is called PermitRootLogin. Or you could set up SSH keys. This is not very much PVE related.
 
Last edited:
  • Like
Reactions: UdoB
I beg your pardon, I have a very limited knowledge of linux and networks. I had it working changing the two lines in /etc/ssh/sshconfig:
Code:
PermitRootLogin yes
PasswordAuthentication yes
Thanks for the suggestions!
 
I beg your pardon, I have a very limited knowledge of linux and networks.

If it works for you, then it is fine! :-)

Just make sure that this one is NOT reachable from the external internet, e.g. via port forwarding.
 
  • Like
Reactions: Johannes S