Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - About Python default character set (Linux)

- Transplant spider to MySQL 5.6 (Database)

- Zabbix configure DataGuard monitoring (Database)

- Windows7 / 8 / 8.1 hard drive to install Ubuntu 14.04 dual system (Linux)

- Android Service service applications and the phone SMS Listener Listener (Programming)

- Examples of Exploration Class File (Programming)

- Acquaintance C ++: the most simple C ++ program (Programming)

- CentOS6.3 build a Python 3.3 environment to access Oracle 11gR2 (Database)

- Linux kernel log --dmesg (Linux)

- SSH automatic disconnection problem solving (Linux)

- Flask deploy applications using Nginx on Ubuntu (Server)

- MySQL binlog group to submit XA (two-phase commit) (Database)

- DBCA Error: ORA-19809: limit exceeded for recovery files process (Database)

- Node.js development environment deployment (Server)

- Varnish configuration language VCL and its built-in variables (Server)

- Security measures under Unix multi-user operating system (Linux)

- How to install Ubuntu California - the calendar application (Linux)

- Modifying the system registry protection server security (Linux)

- MySQL 5.6.12 binary log path switching binlog (Database)

- CentOS install Memcached (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:      
 
- To install and deploy Java applications under CentOS 6.5 (Linux)
- How to protect your eyes automatically adjust the screen brightness on Linux (Linux)
- Using Linux stat command to view the files (Linux)
- Use pg_basebackup build PostgreSQL streaming replication environment (Database)
- Thinking in Java study notes - initialization and cleanup (Programming)
- Ubuntu: HDF5 error: HDF5 header version does not match with the HDF5 library (Linux)
- Camouflage Nginx Web server version to prevent invasion (Linux)
- Ubuntu 14.04 installation configuration GNOME Classic interface (Linux)
- Understanding and Memcached MongoDB arbitration node, Zookeeper, Redis Recovery Programme Thoughts (Database)
- Add local search to your Android app (Programming)
- Git and GitHub use of Eclipse and Android Studio (Programming)
- Java Graphics2D Paint (Programming)
- ORA-28000 the account is locked fault simulation (Database)
- Linux performance monitoring and common commands Introduction (Linux)
- JVM garbage collector and memory allocation strategy (Programming)
- CentOS Linux Optimization and real production environment (Linux)
- Android using SVG vector graphics to create cool animation effects (Programming)
- Network security system (Network)
- Use Ansible efficient delivery Docker container (Server)
- PHP interview questions of design patterns (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.