[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh tunnel delay



I'm seeing a delay when I attempt a connection through an ssh tunnel. The
connection's fast without the tunnel, but has an inital 80 second delay with
it.

Here's the case that works, without the tunnel.  I see lines I type echoed
immediately:

server> nc -l -p 1212
client> nc server 1212

But if instead I do this, the first line isn't seen for about 80 seconds.  After that,
everything's fine and lines appear immediately:

server> nc -l -p 1212
client> ssh -o ExitOnForwardFailure=yes -fN -L1110:localhost:1212 server
client> nc localhost 1110  

I can ssh to the server fine, with no delay. Any ideas why the tunnel has the delay?


Reply to: