Hi SK,
For WSMan issue, please check TCP port 1270 first.
We can test the port from other computers.
test-netconnection -computer <ip of linux agent> -port 1270
If the result is false, add an exception in the firewall to allow the traffic (centos 7.9 for example)
Regards,
Alex