Websterz Technology Blog

Free tutorials, Tech News, Source codes, Tweaks and Tips.

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 : )

Spread the love
See also  How to deal with hackers for web server? Sym links solution

Leave a Reply

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