I'm trying to convert the following SSH command on a SSH File entry.
My command is as follows:
ssh -i identity-file.pem -L 20000:internal-host.com:8080 [email protected] -N
An this is the current SSH file
LocalForward 20000 internal-host.com:8080
ProxyCommand ssh remote-host-tunnel nc %h %p
I'm able to reach the tunnel as folows:
Everything up until this point works fine
But then, when I want to access the internal-host it's not working
ssh internal-host-forwarding -N
The connection does not get established
Ncat: Connection timed out.
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535