Re: proxy via ssh

From: Kyler Laird (Kyler_at_news.Lairds.org)
Date: 08/22/03


Date: Fri, 22 Aug 2003 21:18:57 GMT

cyrustam888@hotmail.com (cyrustam888) writes:

>I have a question about the proxy through ssh ,
>but i don't know it is possible or not

It definitely is and I have taken a similar approach many times.

>service sshst
>{
> socket_type = stream
> wait = no
> user = user1
> server = /usr/bin/ssh
> port = 8888
> server_args = serverA telnet 127.0.0.1 8080
> disable = no
>}

If you can run socat (or even netcat) on the other side instead
of telnet, I think you'll be in a much better position. You
want a clean connection (not what telnet provides). It might
also be that telnet is wanting a terminal.

--kyler



Relevant Pages

  • Re: proxy via ssh
    ... The netcat is great, ... Thanks Kyler ... > of telnet, I think you'll be in a much better position. ... > also be that telnet is wanting a terminal. ...
    (comp.security.ssh)
  • sshell
    ... did i die and go to encrypted telnet heaven... ... wanting to implement telnet on my cisco 3640 perimeter router, ... crypto capable image doesn't come out of the box... ...
    (comp.security.ssh)
  • ifconfig help
    ... I was connected to a Solaris box by telnet, and wanting to find IP ... I ran the same command that I would under my BSD box: ...
    (comp.unix.solaris)
  • Re: help interpreting the nmap output
    ... SSLProxy does run on ... > you could use telnet or netcat to try to communicate with it manually. ... >> netcat to establish a raw connection instead. ...
    (Security-Basics)
  • SUMMARY: Telnet output lost when piped
    ... use netcat instead of telnet ... works great from Solaris 10 crontab and will be used where netcat can't ... Darren's whole response: ... a pipe, and also when I call it from crontab., the echo doesn't appear. ...
    (SunManagers)