xcat-core icon indicating copy to clipboard operation
xcat-core copied to clipboard

xdsh is being used with a jump server and failing randomly on target servers

Open capacho66 opened this issue 2 years ago • 0 comments
trafficstars

Hello,

We have two separated subnets (isolated by a jump server) and we want to run xdsh as follow:

xCAT2_server -----------> Jump_Server -----------> Server_B

(*) xCAT2_server is in Subnet_1 and Server_B is in Subnet_2

I am trying to configure the xCAT2 server (in AIX) to run xcat commands against all servers in Subnet_2

and I configured /.ssh/config on the xCAT2 server as follow:

Host Server_B HostName xx.xx.xx.xx <-- This is the IP address for "Server_B" ProxyJump Jump_Server

xdsh works fine for single server (or even for a couple), like:

xdsh Server_b pwd

   or

xdsh Server_b, Server_c pwd

However, when I have a cluster of servers for xdsh (or any other xCAT commands), I get this message below on some servers:

ssh_exchange_identification: Connection closed by remote host

and I get the message on different servers every time I run "xdsh" with multiple servers.

I read here and there online and I am not sure at this point what the problem is. I don't want to modify the jump_server's ssh config file. All changes need (if possible) to go to the xCAT2 server

Any help would be appreciated..

thanks

capacho66 avatar May 25 '23 15:05 capacho66