Comunicación SSH entre nodos

Jhoan David Calle

New Member
Mar 29, 2022
7
0
1
Buen día, por cuestiones de seguridad he tenido que cambiar el puerto ssh de cada uno de mis nodos del puerto 22 al otro, el problema es que ahora al tratar de abrir uno de los nodos sale un error porque no logra comunicarse por el puerto 22 y no se donde puedo cambiar el puerto 22 que usa la comunicación entre nodos por el puerto ssh nuevo que asigne

WhatsApp Image 2022-03-29 at 11.23.40 AM.jpeg

a quien pueda ayudarme, muchas gracias
 
Good day, for security reasons I have had to change the ssh port of each of my nodes from port 22 to the other, the problem is that now when trying to open one of the nodes an error comes out because it cannot communicate through port 22 and I don't know where I can change the port 22 used by the communication between nodes for the new ssh port that I assign

WhatsApp Image 2022-03-29 at 11.23.40 AM.jpeg
 
you can change the ssh default client port in /etc/ssh/ssh_config
 
are you sure it's the same error? what does the task log say?
 
are you sure it's the same error? what does the task log say?

It is due to the change of the SSH port, but I have not found a way to solve it, the nodes already have communication between them by SSH, but when opening a VM of one of the nodes it throws me that error
 
can you please post the task log? (double click on the 'console' task at the bottom)
 
Host key verification failed.
this means that the servers don't know each others hostkeys

try to ssh from each host to each host once with the following command:

Code:
ssh -o HostKeyAlias=<NODENAME> root@<NODEIP>
where <NODENAME> is the nodename of the target, and <NODEIP> is the ip address of the target[/code]
 
this means that the servers don't know each others hostkeys

try to ssh from each host to each host once with the following command:

Code:
ssh -o HostKeyAlias=<NODENAME> root@<NODEIP>
where <NODENAME> is the nodename of the target, and <NODEIP> is the ip address of the target[/code]

I have tried to do it but now I change the error, I know that something with the public key but I have not been able to solve it

root@172.24.16.11: Permission denied (publickey,password).
TASK ERROR: Failed to run vncproxy.
 

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!