Thread: TCP_NODELAY - Problem with Reverse SSH Tunnel
trying reverse ssh tunnel going mac osx 10.6.6 ubuntu server 11.04 .
on mac use following command:
ssh -r 19999:localhost:22 user@remoteip
on server use:
ssh localhost -p 19999
on server following message in terminal:
identification: connection closed remote host
on osx following message:
setsockopt tcp_nodelay: invalid argument
can't tell if issue osx or ubuntu. ideas or thoughts great.
just clear command means,
listen on port 19999 on localhost on remoteip machine , forward connections mac on localhost port 22.
before connect localhost port 19999 on server need have listening on mac on localhost port 22. presumably want sshd doing need make sure case. on mac can run "sudo netstat -lntp" check sshd (or whatever want) listening on localhost port 22.
can check on server ssh indeed listening on port 19999 using same command. default listens on localhost , not on "*" (any interface). can connect within server itself, not external location. in order connect remotely server:19999 need override config of ssh on server gatewayports option.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] TCP_NODELAY - Problem with Reverse SSH Tunnel
Ubuntu
Comments
Post a Comment