Configuring the Install Telnet service in Linux

Source: Internet
Author: User

Telnet is a popular protocol for logging on to a remote computer over the Internet. The Telnet Server package provides support for Telnet hosts. To communicate with another host through the Telnet protocol, you can use the name or Internet address format (such as 192.168.1.10) to contact the host.   Telnet uses a command-line prompt. To start using the Telnet service, use the Telnet service and type the following command to connect to the remote server: Telnet ip_address/server_name where ip_address is the IP address of the server, server_name is the server's Name.

Note: By default, the server uses NTLM authentication and prompts for a user name and password.

Telnet Server is already installed in Windows by default, how do I turn on the Telnet service? sc config tlntsvr start= Auto Auto sc config tlntsvr start= disabled disabled SC config tlntsvr start= demand manual

Note = There is a space behind

net start Telnet start Telnet service net stop telnet stop telnet service

First, install the Telnet package (typically two).

1, telnet-client (or Telnet), this package is provided by the Telnet client program;

2, is the Telnet-server software package, this is the real Telnet Server package!

Before installing, check whether these packages are installed, as follows: [[email protected] ~]# rpm-q telnet telnet-0.17-38.el5 telnet client generally by default is installed [[email protected] ~] # rpm-q Telnet-server No indication not installed two, install telnet-server Run command installation: [[email protected] cdrom]# RPM-IVH--force telnet-server-0.17-39. el5.i386.rpm warning:centos/telnet-server-0.17-39.el5.i386.rpm:header V3 DSA signature:nokey, key ID e8562897 ERROR:FA Iled dependencies:xinetd is needed by telnet-server-0.17-39.el5.i386 here prompt installation error, need xinetd dependent package, then we will install it first!

[[email protected] cdrom]# rpm-ivh--force xinetd-2.3.14-10.el5.i386.rpm warning:centos/ Xinetd-2.3.14-10.el5.i386.rpm:header V3 DSA Signature:nokey, key ID e8562897 preparing...                 ########################################### [ 100%]    1:xinetd                  ########################################### [100%] installation complete below we will install Telnet-server [[email protected] cdrom]# RPM-IVH--force telnet-server-0.17-39.el5.i386.rpm warning:centos/telnet-server-0.17-39.el5.i386.rpm: Header V3 DSA Signature:nokey, key ID e8562897 preparing...                 ########################################### [100%]    1: telnet-server          ########################################### [100%] It is now possible toOften installed, installation completed below we need to configure the service! Third, configuration Services 1, open Services

Method One: Use Ntsysv, in the window that appears, the Telnet is selected, and then press OK! SPACEBAR "Select", Tab "OK & Cancel" method two: Edit/etc/xinetd.d/telnet

#vi/etc/xinetd.d/telnet [[email protected] cdrom]# Vi/etc/xinetd.d/telnet method Three:[email protected] cdrom]# CH Kconfig telnet on #设置在启动系统时, start Telnet service 2, activate service

Telnet is hung under the xinetd, so naturally as long as the reactivation of XINETD will be able to re-read the settings inside the xinetd, so just set the Telnet can also be activated. [[Email protected] cdrom]# service xinetd start start xinetd: [OK] iv. test service C:\> ; telnet 192.168.13.55 Red Hat Enterprise Linux Server release 5.1 (tikanga) Kernel 2.6.18-53.el5 on an i686 login:

Reference book: http://books.google.cn/books?id=9-J_jjcTTiwC&pg=RA1-PT8&lpg=RA1-PT8&dq=l%E5%AE%89%E8%A3% 85telnet-server-0%5b1%5d.17-25.i386.rpm&source=bl&ots=1xyem0suab&sig=aowczrjw__ckr732m9ybtuhqsfa &hl=zh-cn&ei=54idstitn4ivkaws-fgxbw&sa=x&oi=book_result&ct=result&resnum=1#v=onepage &q=&f=false

Again, three ways to start Telnet: 1. Use the command # chkconfig--add telnet # chkconfig telnet on 2. Edit the file/etc/xinetd.d/telnet change the statement disable = yes to Disable = no save exit. Restart Services: Service xinetd restart 3. The graphical interface finds a Telnet entry, and then presses a space to select the item. Select OK to exit. Restart Services: Service xinetd restart

Note If the system is loaded with a firewall required # iptables-f #关闭防火墙 to remote telnet to the server

Default can not be logged in as root!!! Modify/etc Securetty file can be logged in as root to join under Tty11

pts/0

Pts/1

Pts/2

Pts/3

Pts/4

Pts/5

Pts/6

Pts/7

Pts/8

Pts/9

Configuring the Install Telnet service in Linux

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.