Root password doesn’t work and no access to server via ssh

7qsefab

New Member
Dec 29, 2024
1
0
1
Hello,

since I did this YouTube tutorial about how to set up a local Ca server for certificationing domains in my local home network, i can’t access my server via ssh.

The error that is given in the terminal every time I try to access my server via ssh is:

ssh root@192.168.178.89
kex_exchange_identification: read: Connection reset by peer
Connection reset by 192.168.178.89 port 22

At the login in the proxmox gui I selected the Linux Pam and entered my username and password, but the response of proxmox was an error.

Error:
Login failed. Please try again

I did not chance the password or the user!

All the services like Homeassistant, pi hole etc. are working fine and can be accessed via ssh and via the browser.

Luckily have I access to the physical server and can operate from the internal servers console, but I don’t know how to fix this problem.


Can anyone please help me
 
Hi @7qsefab , welcome to the forum.

You should use your console access to examine and monitor the logs. For example:

journalctl -f (to monitor logs live during login)
journalctl -n 100 (to examine last 100 lines)
dmesg (kernel level messages)

You can also place "sshd" into interactive mode to monitor the events:
systemctl stop sshd
sshd -D

Of course, there is always an option to backout the changes you did following the youtube video.

As always, it is advised to be cautious with following any guide without full understanding of the actions.

Keep in mind that PVE is a hypervisor. You can install a nested PVE as a VM and experiment there.

Cheers.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox