I had a similar problem, but I assign different SSH ports for each node. So to SSH from Proxmox on the web interface's shell to another node, I config the source node's ~/.ssh/config file to the destination node's SSH port. An example config of a remote host is shown below: