Whm transfer gives bad file descriptor error
From CPanelDirect
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.
Apf Firewall
On the APF firewall add port 22 to EG_TCP_CPORTS if you have EGF set to 1. Then restart apf with apf -r

