From owner-freebsd-questions Thu Jul 29 4:41:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from arc.netlab.sk (arc.netlab.sk [195.168.1.2]) by hub.freebsd.org (Postfix) with ESMTP id DB2D414E08 for ; Thu, 29 Jul 1999 04:41:45 -0700 (PDT) (envelope-from tps@arc.netlab.sk) Received: from tps (root@qwyx.netlab.sk [195.168.0.2]) by arc.netlab.sk (8.9.3/8.9.3) with SMTP id NAA01578; Thu, 29 Jul 1999 13:41:32 +0200 (CEST) Reply-To: From: "Tomas TPS Ulej" To: "James C. Durham" , "System Admin." Cc: "UNIX-WIZ Mailing list" , Subject: RE: redirect telnet Date: Thu, 29 Jul 1999 13:41:25 +0200 Message-ID: <004401bed9b7$49f9c1e0$231da8c3@tps.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <379FC278.55B7BF4@w2xo.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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