Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - To install the latest version of the EPEL on CentOS 5.x or 6.x (Linux)

- MySQL Basic tutorial: About varchar (N) (Database)

- ASM required disk format process in Solaris platforms (Linux)

- ORA-27054 NFS problem solving (Database)

- Shell command line operation (Linux)

- How to fix fatal error: security / pam_modules.h: No such file or directory (Linux)

- Design and implementation of environment sniffer running under Linux (Linux)

- Linux system installation Gitlab (Server)

- OpenGL Programming Guide (8th edition of the original book) - compute shader (Programming)

- Create a custom pixel format based on an existing image data BufferedImage (Programming)

- Eclipse, Tomcat configuration JNDI connection Oracle data source example (Server)

- Configuring s3c-linux- appears Unable to find the QT3 installation (Linux)

- MySQL query performance comparison of a single truth (Database)

- How to download apk file from the Google Play store on Linux (Linux)

- Linux system package manager (rpm, yum, source packages installation) (Linux)

- The development environment to build Nodejs under Ubuntu 14.04 (Linux)

- How do you temporarily emptied Bash environment variable before running the command on Linux (Linux)

- Linux System Getting Started Learning: Disable HTTP forwarding wget in (Linux)

- iOS constants, variables, properties and characteristics (Programming)

- Linux installed Cisco Packet Tracer (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
- ORA-00824: can not set sga_target due to existing problem-solving (Database)
- Installation on Ubuntu class Winamp audio player Qmmp 0.9.0 (Linux)
- Network Security Basics Linux command (Linux)
- Squid proxy server (Server)
- Oracle 12c In-Memory Study (Database)
- Configuring a Linux operating system security management services Explain (Linux)
- Linux user groups, file permissions Detailed (Linux)
- Git delete files (Linux)
- Linux system started to learn: how to view the Linux thread of a process (Linux)
- Slice MyCAT common fragmentation rules of enumeration (Database)
- Different between Linux file path and the windows (Linux)
- LAMP and LNMP automated installation scripts (Server)
- [JavaScript] catch (ex) statements of ex (Programming)
- Upgrading KDE Plasma 5.3 in Ubuntu 15.04 (Linux)
- Creating and extracting archives 11 tar command examples in Linux (Linux)
- Strategy Games Ubuntu installation of Wesnoth 1.12.1 (Linux)
- Spring Integration ehcache annotation implement the query cache and cache update or delete instant (Programming)
- Java programmers talk about those advanced knowledge and direction (Programming)
- Various sorting algorithms implemented in Python (Programming)
- Oracle user password problem (Database)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.