proxmox ssh to virtual server

Blisk

Member
Apr 16, 2022
47
1
13
I just installed proxmox and virtual server centos on it.
Both are on local newtork 192.168.1.X
On virtual server I have disabled and stopped firewalld, but still I can not SSH to this virtual server from my windows computer on the same local network 192.168.1.X.
What can block that?? Do I need something to setup on proxmox? Firewall on proxmox is disabled.
Also I can ssh from virtual server to another linux server outside on external IP.
 
Last edited:
I know this is dumb to mention but it did trip me up once, but is sshd installed (and started) on your virtual server? I don't know what image you are using but the containers by default don't have them so you need to install "yum install openssh-server" and afterwards "systemctl start sshd".
 
Did you verify that SSH logins with password are allowed? And its often not allowed to login as root. You should check your settings in "/etc/ssh/sshd_config". Especially the lines "ListenAddress", "Port", "PermitRootLogin" and "PasswordAuthentication".
 
Last edited:
I found out where is a problem. in GUI i put IP 192.168.1.100 when I type in terminal ifconfig I get address 192.168.1.20
When I SSH to 192.168.1.20 it works. I think somehow gui didn't update IP.
 

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!