Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - iOS Sensor Development - add to APP phone password, fingerprint security authentication (Programming)

- Share Practical Tutorial GitHub (Linux)

- High-performance JavaScript loaded and executed (Programming)

- Oracle 12C RAC optimizer_adaptive_features cause of data into overtime (Database)

- Ubuntu way of decompressing files (Linux)

- OpenJDK7 source compiler installation on CentOS 6.5 (Linux)

- Create several practical points of high security PHP site (Linux)

- Axel install plug under CentOS 5/6 acceleration yum downloads (Linux)

- Under Ubuntu 15.04 installation JDK8 (Linux)

- Linux boot the system does not display a progress bar setting method (Linux)

- Linux support exFAT and NTFS (Linux)

- Fast Learning Clojure (Programming)

- Towards Docker (Server)

- shell script: MySQL monitoring service is normal (Database)

- The Java ThreadLocal (Programming)

- Linux System Getting Started Tutorial: how to find information on Linux-embedded module (Linux)

- Django Web dynamic three linkage (Programming)

- Linux System Tutorial: How to Check MariaDB server versions (Database)

- Linux md5sum verify file integrity (Linux)

- Six Ways to view slides can be implemented Android (Programming)

  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 is hanging under xinetd, so at the same time to see if the service is installed xinetd
rpm -qa | grep xinetd

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
- Oracle database file path changes (Database)
- Android in the event delivery and handling mechanism (Programming)
- Share useful bash aliases and functions (Linux)
- How to build a custom exclusive Ubuntu Live CD (Linux)
- Analysis of Java exception (Programming)
- CentOS 5.10 installed Oracle 11G R2 (Database)
- Unix system security configuration (Linux)
- Linux firewall settings -DNS server articles (Server)
- Linux system font color change (Linux)
- Linux tar compressed exclude a folder (Linux)
- Hibernate Performance Optimization of EHCache cache (Programming)
- Oracle metadata Reconstruction experiments (Database)
- Linux host system monitoring implement the cgi (Server)
- Fun music library in Linux using command line (Linux)
- To teach you how to safely send mail (Linux)
- Detailed PHP code optimization [section] (explain reasons) (Programming)
- The correct way of logical backup mysqldump (Database)
- Linux dynamic libraries and Guide (Programming)
- SQLite3 simple operation (Database)
- Use chattr and lsattr command to manage linux files and directory attributes (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.