[Gllug] Reversing an SSH connection

Richard Jones rich at annexia.org
Tue Oct 25 10:02:48 UTC 2005


On Tue, Oct 25, 2005 at 12:30:22AM +0100, Peter Grandi wrote:
> You can always run PPP over SSH (websearch for HOWTOs/tutorials),
> or any other tunneling solution over dialup, and then...

Sounds like you're heading into dangerous TCP-over-TCP territory.[1]

A better idea all round is simply to forward either the SSH or even
telnet ports; something like this should work:

  # Create the tunnel:
  insidehost$ ssh -R 8022:localhost:22 outsidehost

  # On outsidehost, connect back to insidehost using:
  outsidehost$ ssh -p 8022 localhost

Rich.

[1] http://sites.inka.de/sites/bigred/devel/tcp-tcp.html

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list