SSH to LXC from server node works but not from another LAN PC with "Permission denied" error

Telstar

New Member
Jul 3, 2023
1
0
1
Really new to Proxmox but very existed after installed it on one of my home PCs and saw it up and running. The server node IP is 192.168.0.50.

I have also created a Ubuntu 22.04 LXC (no firewall) which has IP 192.168.0.51 and installed Nginx on it. Now I can access Nginx default page at http://192.168.0.51 from another home device.

In Proxmox server node shell, I can SSH to LXC with "ssh validuser@192.168.0.51" command and that user's password, however I can't SSH to LXC from another windows home PC (IP 192.168.0.22) and get below error message:

> ssh validuser@192.168.0.51
> ssh: connect to host 192.168.0.51 port 22: Permission denied

A side note is that I can ssh to my cloud vps from that windows pc.

In Proxmox, the firewall settings are:

Datacenter:
1688352429101.png

Node:
1688352493270.png

LXC:
1688352537618.png

Node Network setting:
1688352670009.png

LXC network setting:
1688352853050.png

I have done some researched and spent time trying different settings, e.g. updating sshd_config, ufw, iptables, changing Proxmox Firewall setting, but all no avail.

Is this a network or firewall issue? Is there anything else I can check/try?

Great thanks.
 

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!