Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - File easier to compare tools under Linux (Linux)

- Spring loaded container finishes executing a method (Programming)

- PLSQL often lose resolution process automatically disconnect the connection (Database)

- Firewall types and instructions (Linux)

- Ubuntu 12.04 commonly use shortcuts finishing Share (Linux)

- There is sort of a directed acyclic graph topology (Programming)

- CentOS 6.5 Linux System Customization and Packaging Quick Implementation Script (Linux)

- quotacheck command file can not be created aquota.user and aquota.group solutions (Linux)

- CentOS install expect (Linux)

- Nginx server security configuration (Server)

- Ganglia Python plug-in the process of writing notes (Linux)

- Redhat 5 prohibit IPv6 (Linux)

- U disk to install Windows and Ubuntu 15.04 dual system (Programming)

- Android Custom View step (Programming)

- MySQL function: group_concat () function (Database)

- Configuring Proxy on a Unix terminal, accelerate Android Studio Construction (Linux)

- Improve the efficiency of Linux development tools 5 (Linux)

- Let Markdown code syntax highlighting and support Django1.6 (Linux)

- Installation Elementary OS Freya to do some settings (Linux)

- Ubuntu modify DNS restart loss problem (Linux)

 
         
  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:      
 
- MySQL stored procedures and triggers (Database)
- Parse Server supports iOS and Android push messaging (Programming)
- Oracle table space is too large processing time (Database)
- Experience CoreCLR stack unwinding characteristics of initial implementation on Linux / Mac (Linux)
- MySQL related statements (CRUD) (SQLyog software) (Database)
- Use read command to read user input (Programming)
- CentOS 6.5 upgrade to CentOS 7 (Linux)
- Use top to monitor the remote server (Server)
- MacBook Air install Ubuntu dual system (Linux)
- Getting Started with Linux: Learn how to install and access CentOS 7 Remote Desktop on a VPS (Server)
- Learning the Linux powerful network management capabilities (Linux)
- OpenVPN offsite interconnecting room availability and load balancing solution (Server)
- WordPress blog installation Redis Cache (Server)
- installation and configuration of the PHP environment (Apache2) under Linux (Server)
- Linux System shutdown procedures (Linux)
- Using Python and OpenCV detecting image barcode (Programming)
- RedHat Linux 5.5 installation process SVN Service Notes (Server)
- Introduction to Linux system process monitoring tools (Linux)
- Linux Operating System Security Management Experience (Linux)
- How to Install Puppet in the Ubuntu 15.04 (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.