Date: Wed, 28 Jul 1999 22:54:48 -0400 From: "James C. Durham" <durham@w2xo.pgh.pa.us> To: "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: <379FC278.55B7BF4@w2xo.pgh.pa.us> References: <Pine.GSO.4.05.9907251502540.5095-100000@student.lssu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?379FC278.55B7BF4>