Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - Achieve camera preview by ffplay (Linux)

- C # mobile side and PC-side data exchange (Database)

- Teach you how to protect the Linux operating system security tips (Linux)

- How do I switch from NetworkManager to systemd-network on Linux (Linux)

- ORA-01000 Solution (Database)

- Fedora 22 how to play rmvb mp4 mkv video files (Linux)

- 20+ Best Practices article MySQL Performance Optimization (Database)

- Install Python 3.3.4 under CentOS 6.4 (Linux)

- AppCode developed Mac OS X application or shared library experience summary (Programming)

- Java is simple to read and write HDFS Demo (Programming)

- Ubuntu / openSUSE users to install Veusz 1.21.1 (Linux)

- Use in Linux ipmitool tool (Linux)

- Solaris 11 forget the root password (Linux)

- OpenGL Superb Learning Notes - GLSL language foundation (Programming)

- Physical structure and process disk IO (Linux)

- A detailed introduction to the Hadoop ecosystem (Server)

- Linux folder and extract the differential file comparison techniques -rsync Magical (Linux)

- Under Ubuntu 15.04 installation JDK8 (Linux)

- The basic principles of AIX system security (Linux)

- Help you to see Linux system architecture type 5 Common Commands (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 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
- Puppet installation and testing (Server)
- DataGuard a hardware issue warnings found (Database)
- About Hibernate cache, you want the latest data have trouble even session.clear (Database)
- CentOS boot image to achieve semi-automatic installation (Linux)
- 10 Nginx safety tips (Linux)
- Linux account related documents Interpretation (Linux)
- Xmanager Remote Desktop login CentOS 6.5 (Linux)
- How to Install SeaMonkey 2.25 for Ubuntu (Linux)
- DOM event handlers add notes (Programming)
- Install FFmpeg compiling from source in Mac OS X environment (Linux)
- How to install Perl modules from CPAN (Linux)
- Mac OS X systems create Ubuntu USB boot disk for the Mac (Linux)
- C ++ inline functions (Programming)
- Workaround CentOS error message during compilation PHP5 common (Linux)
- Fedora 22 install Adobe Flash Player (Linux)
- ORA-12154 TNS could not resolve the specified identifier (Database)
- Oracle 11g to create a second instance on Linux (Database)
- How to use scientific data Docker quickly configure the development environment (Server)
- Git large file storage will help handle large binary files (Linux)
- Linux remote wake the computer original code [C] (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.