Hi all,
i have some weired behaviour from a ubuntu VM (20.04). I can randomly ssh into the VM, then it stopps working.
I do not see any hint in the logs what is going wrong.
i set up ssh had some issues and changed the port to 222. If i restart the VM it randomly starts working on that port. Then it stops working. I can not even enter the password if i try to reconnect.
Output of ssh -vvv on the correct port 222 if i try to connect:
if i try from within the proxmox it works sometimes.
If i wouldn't experience the diffrence between working within the proxmoxx setup and from outside (Same network by the way) i would guess on 2 instances of ssh being active.
The auth.log doesn't hold any infomation about the ssh attempts.
For any help i would be really gratefull.
BTW it shows the behaviour with all install i tried.
i have some weired behaviour from a ubuntu VM (20.04). I can randomly ssh into the VM, then it stopps working.
I do not see any hint in the logs what is going wrong.
i set up ssh had some issues and changed the port to 222. If i restart the VM it randomly starts working on that port. Then it stops working. I can not even enter the password if i try to reconnect.
Output of ssh -vvv on the correct port 222 if i try to connect:
Code:
ssh user@192.168.178.29 -p 222 -vvv
OpenSSH_8.4p1 Debian-5, OpenSSL 1.1.1n 15 Mar 2022
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.178.29 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'
debug2: ssh_connect_direct
debug1: Connecting to 192.168.178.29 [192.168.178.29] port 222.
debug1: connect to address 192.168.178.29 port 222: Connection refused
ssh: connect to host 192.168.178.29 port 222: Connection refused
if i try from within the proxmox it works sometimes.
If i wouldn't experience the diffrence between working within the proxmoxx setup and from outside (Same network by the way) i would guess on 2 instances of ssh being active.
The auth.log doesn't hold any infomation about the ssh attempts.
For any help i would be really gratefull.
BTW it shows the behaviour with all install i tried.