Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - ARM Linux system call (Linux)

- Deepin Tutorial: Depth Description Installer expert mode (Linux)

- Oracle online redefinition (Database)

- MySQL5.7 implement virtual column expression index (Database)

- Linux SSH login without a password (Linux)

- Debian 8.2.0 (Jessie) fast clean installation tutorial (Linux)

- Embedded Linux Optimization (Programming)

- Learning OpenCV: (VS2010-openCV2.4.3-win7 configuration instructions) (Linux)

- Three binary tree traversal (recursive, non-recursive traversal and Morris) (Programming)

- Apache site default home page settings (Server)

- Talk Packages (Linux)

- Mac OS X command line to submit the local project to Git (Server)

- Management Linux Container with Docker in Ubuntu (Linux)

- Java rewrite the hashcode method (Programming)

- How to install CentOS CentOS web page (Server)

- Category prevent DoS attacks against Linux (Linux)

- Firewall chapter of Linux server security configuration (Linux)

- Linux using TCP-Wrapper Service Management (Linux)

- GAMIT10.5 install and update failed Solution (Linux)

- Linux install and configure Heartbeat (Server)

 
         
  Installation and use the telnet command under CentOS 6.x
     
  Add Date : 2018-11-21      
         
         
         
  I. CentOS see whether the system has been installed telnet rpm -qa | grep telnet
telnet-0.17-48.el6.x86_64
telnet-server-0.17-48.el6.x86_64

telnet is hanging under xinetd, so at the same time to see if the service is installed xinetd
rpm -qa | grep xinetd
xinetd-2.3.14-39.el6_4.x86_64

Both are not already installed, yum install the following services
yum install xinetd telnet telnet-server -y

II. Configuring telnet
 
Setting the boot
#chkconfig telnet on

Modify the configuration file
vi /etc/xinetd.d/telnet
The "disable = yes" changed to "disable = no"

Third, the activation service
Restart xinetd service
service xinetd restart
Or /etc/rc.d/init.d/xinetd restart

Four .iptables firewall will prevent telnet, so it is necessary to allow iptables, use the following command
When you start the telnet service, you can use the netstat -tunlp telnet command to check the port used by the service can be found 23. Use the following command to open these ports:
iptables -I INPUT -p tcp --dport 23 -jACCEPT
iptables -I INPUT -p udp --dport 23 -jACCEPT
service iptables save // ​​save
service iptables restart // reboot the firewall
Or to point ruthless! ! Turn off the firewall!
service iptables stop

V. using the telnet command
Format: telnet ip prot

Six other commonly used telnet command description:
close close current connection
Force Quit remote user logout and close the connection
display display parameters of the current operation
trying to enter the command line mode or character mode
open to connect to a site
quit quit
set set the parameters of the current operation
unset Resets the current operating parameters
status Print status information
toggle switching operating parameters
slc state change special characters
auth on / off function z pending confirmation
telnetsend send special characters
telnetenviron change the environment variables? Displays help information

VII. Error Resolution
If you use the telnet command has the following tips:
-bash: telnet: command not found
Check to see if the lack of installation package telnet
     
         
         
         
  More:      
 
- Linux kernel RCU (Read Copy Update) lock Brief - prequel (Linux)
- How to monitor Nginx (Database)
- Drawing from the Android source code analysis View (Programming)
- MongoDB 3.2 to upgrade from 3.0.7 (Database)
- stat Usage: Get permission to file the corresponding figures (Linux)
- Nginx configuration support f4v video format player (Server)
- CentOS 6.6 installation certification system based on the ftp service (Server)
- About phpwind 5.01-5.3 0day analysis of the article (Linux)
- Linux system Iptables Firewall User Manual (Linux)
- CentOS yum install LAMP (Server)
- Installation Android IDE development tools, Android Studio 1.5 under Ubuntu (Linux)
- Python3 multi-thread download codes (Programming)
- MariaDB database storage path modify configuration issues (Database)
- Ubuntu deployment Flask + UWSGI + Nginx Comments (Server)
- Linux cd command Detailed (Linux)
- Ubuntu 14.04 Docker installation (Linux)
- How to modify the Emacs Major Mode Shortcuts (Linux)
- Git delete files (Linux)
- Installation of JDK and Tomcat under Linux (CentOS) (Linux)
- Linux Getting Started tutorial: Ubuntu 14.04 in the installation Sogou Pinyin (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.