Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 13:41:25 +0200
From:      "Tomas TPS Ulej" <tps@arc.netlab.sk>
To:        "James C. Durham" <durham@w2xo.pgh.pa.us>, "System Admin." <pe@student.lssu.edu>
Cc:        "UNIX-WIZ Mailing list" <UNIX-WIZ@LISTSERV.NODAK.EDU>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: redirect telnet
Message-ID:  <004401bed9b7$49f9c1e0$231da8c3@tps.sk>
In-Reply-To: <379FC278.55B7BF4@w2xo.pgh.pa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
Use redirect port, /usr/ports/net/bounce

--
Tomas TPS Ulej
Network Administrator
Telenor Internet, Slovakia
more? http://www.ripe.net/cgi-bin/whois?tu36-ripe


> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of James C. Durham
> Sent: Thursday, July 29, 1999 4:55 AM
> To: System Admin.
> Cc: UNIX-WIZ Mailing list; freebsd-questions@FreeBSD.ORG
> Subject: Re: redirect telnet
>
>
> "System Admin." wrote:
> >
> > Hi All,
> >         How can I redirecting telnet from one server to another server?
> > For example, I have server A and server B; I want user to
> telnet to server
> > A and have server A automaticly send that user to server B. How can I do
> > that?
> >
> > TIA
>
> ssh2 will do this. Install the ssh2 package on both.
> Run sshd2 on server A . Then connect with
> ssh from server B using the "-R" option as in:
>
> ssh -R 23:localhost:23 serverA
>
> You must be root to forward priviledged ports.
> You must not have *anything* listening on port 23
> on server A or you will get "permission denied".
> Be sure to run ssh-keygen to generate local root key
> pairs for both machines. This is a secure connection
> and works through firewalls.
>
> Hope this helps..
>
> --
> Jim Durham
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004401bed9b7$49f9c1e0$231da8c3>