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
nc
as theProxyCommand
for thessh
orsftp
client on RHEL7, but the connection times out with the following message:Ncat: Connection Timed out
-
I am using the following
ProxyCommand
forssh
orsftp
: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
nc
command used with thessh
orsftp
ProxyCommand
option
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.