[prev in list] [next in list] [prev in thread] [next in thread]
List: openssh-unix-dev
Subject: Re: Simple ways to test ssh tunnel
From: Mathieu Westphal <mathieu.westphal () kitware ! com>
Date: 2018-10-05 12:29:04
Message-ID: CAC2t4URb-p4hn-uL+n9fOAs_=x7ds8ZPoLvjooWfNi++HQXd6g () mail ! gmail ! com
[Download RAW message or body]
Thank you very much, telnet is indeed the simplest way, I should have think
of it.
Also, the simplest way to have a http server running is with python
python -m http.server will work just fine.
Mathieu Westphal
On Fri, Oct 5, 2018 at 1:26 PM Damien Miller <djm@mindrot.org> wrote:
> On Fri, 5 Oct 2018, Darren Tucker wrote:
>
> > On 5 October 2018 at 19:23, Mathieu Westphal
> > <mathieu.westphal@kitware.com> wrote:
> > [...]
> > > ssh -L 8080:localhost:11111 user@remote
> > >
> > > What command could I then use to use this tunnel as simply as possible,
> > > either on the client, the server or both.
> >
> > On the client, "telnet localhost 8080". If it connects, depending on
> > what's on the other end either you'll get a banner or it'll wait for
> > the client to send something. If it speaks HTTP. you can type
> > something like "GET /" and it'll probably give either a page or an
> > error message.
>
> You can also use netcat instead of telnet, or perhaps "openssl s_client"
> if your endpoint requires TLS.
>
> -d
>
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic