Why does ssh/sftp fail with "Ncat: Connection Timed out" errors on Red Hat Enterprise Linux (RHEL) 7 clients when using the "nc" command to connect to the proxy?
Issue
-
I am using
ncas theProxyCommandfor thesshorsftpclient on RHEL7, but the connection times out with the following message:Ncat: Connection Timed out -
I am using the following
ProxyCommandforsshorsftp:nc -v -x <proxy_ip>:<proxy_port> %h %p -
I do not have the same issue when using RHEL6 clients
Environment
- Red Hat Enterprise (RHEL) 7
nccommand used with thesshorsftpProxyCommandoption
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
