Fix – SSH Error Bad file descriptor

If you are getting the error bad file descriptor while establishing remote connection to another server, it seems you have configuration error for you SSH server’s port.

 

Reason:

Outgoing connections are blocked by firewall, or port is blocked for outgoing connections in firewall.

Quick Fix:

Add the PORT Number in outgoing enabled port list in firewall, for CSF you need to add it in TCP_IN and TCP_OUT ports list.

Feedback are appreciated : )

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>