> Ah, interesting.  I tried your suggestion, and I get the message

I tried it too, just for good measure. (I noticed that at least with
ssh1, I had to remember "-t" in the middle stages to force tty
allocation so the final ssh terminal session works properly.)

a $ ssh -t -L 54321:b:54320 b ssh -t -L 54320:c:54319 c ssh -L 54319:d:80 d

What I get after establishing the connection:

a $ telnet localhost 54321
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

b $ telnet localhost 54320
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

c $ telnet localhost 54319
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.1 200 OK
...

In other words, the forwarding does not quite work.

-- 
Atro Tossavainen - email available at URL below - +358-9-850-111-86
http : / / www . iki . fi / atro . tossavainen /

Reply via email to