|
Title: Telnet Post by: cpalin on May 29, 2008, 03:09:53 AM I need help on configuring and setting up telnet on my aix box to use ports 8420 and 8422.
Can someone help on these. Title: Re: Telnet Post by: Michael on May 29, 2008, 07:46:36 AM Outgoing is very simple - manually: telnet aixhost 8420 or telnet aixhost 8422
I often use telnet anyhost 80 to test for presence of the http server (or telnet anyhost 22 for ssh) - especially when ping fails - as ping gets blocked so often. Further, for one of the two port numbers you can automate it somewhat. Quote root@nim[ / ]:grep telnet /etc/services telnet 23/tcp # Telnet telnet 23/udp # Telnet root@nim[ / ]:grep telnet /etc/inetd.conf telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd -a Edit the lines in /etc/services to the port number you want. The first column (the keyword telnet) in /etc/inetd.conf substitutes for that number. So what you will want is something like: Quote telnet 8420/tcp # Telnet modified telnet 8420/udp # Telnet modified Do not forget to verify that 8420 or 8422 is not in use by something else. |