Whm transfer gives bad file descriptor error
During a transfer you may run into the following error:
Connecting to Remote Server Failed: Unable to connect to IP.ADDRESS:22: Bad file descriptor
This error is shown when the server that the copy is running on is unable to connect to the remote SSH server. The most common error is due to a firewall blocking outgoing port 22 on the server. Open up the firewall to allow this and the transfer will go through.
On the APF firewall add port 22 to EG_TCP_CPORTS if you have EGF set to 1. Then restart apf with apf -r
You have to check port 22 in conf.apf file on both servers source and destination.
Scroll down to the “Common ingress (inbound) TCP ports section. At this point you need to find the correct configuration for your control panel.