Linux telnet installation Configuration

Source: Internet
Author: User

Linux telnet installation configuration [root @ Demo Packages] # rpm-ivh xinetd-2.3.14-33.el6.i686.rpmwarning: xinetd-2.3.14-33.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEYPreparing... ######################################## ### [100%] 1: xinetd ####################################### #### [100%] [root @ Demo cdrom] # rpm-ivh telnet-telnet-0.17-47.el6.i686.rpm telnet-server-0.17-47.el6.i686.rpm [root @ Demo Cdrom] # rpm-ivh telnet-* warning: telnet-0.17-47.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEYPreparing... ######################################## ### [100%] 1: telnet-server ##################################### ###### [50%] 2: telnet ####################################### #### [100%] [root @ Demo Packages] # cd/etc/xinetd. d/[root @ Demo xinetd. d] # vi telnet # default: on # descrip Tion: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet {flags = REUSE socket_type = stream wait = no user = root server =/usr/sbin/in. telnetd log_on_failure + = USERID disable = no} [root @ Demo xinetd. d] # service xinetd restartStopping xinetd: [FAILED] Starting xinetd: [OK] [root @ Demo etc] # telnet 127.0.0.1Trying 127.0.0.1... C Onnected to 127.0.0.1.Escape character is '^]'. red Hat Enterprise Linux Server release 6.2 (Santiago) Kernel 2.6.32-220. el6.i686 on an i686login: rootPassword: Login incorrectlogin: adminPassword: Last login: Sun Mar 17 10:05:35 from 192.168.1.100 [admin @ Demo ~] $ Su-Password: [root @ Demo ~] # Use root to log on (root cannot log on by default): [root @ Demo etc] # mv securetty. bak [root @ Demo etc] # telnet 127.0.0.1Trying 127.0.0.1... connected to 127.0.0.1.Escape character is '^]'. red Hat Enterprise Linux Server release 6.2 (Santiago) Kernel 2.6.32-220. el6.i686 on an i686login: rootPassword: Last login: Mon Mar 18 00:52:51 from 172.1.1.1 [root @ Demo ~] # Modify the port of the Telnet server (default value: 23 ): [root @ Demo etc] # vi/etc/servicestelnet 5023/tcptelnet 5023/udp [root @ Demo etc] # telnet 127.0.0.1 5023 Trying 127.0.0.1... connected to 127.0.0.1.Escape character is '^]'. red Hat Enterprise Linux Server release 6.2 (Santiago) Kernel 2.6.32-220. el6.i686 on an i686login:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.