Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - RHEL6 install Python and other packages from source (Linux)

- Explore Android SQLite3 multithreading (Programming)

- Docker use Dockerfile created since the launch of the service support SSH container mirror (Server)

- Use lsof restore accidentally deleted log files or database (Linux)

- C ++ casts New Standard Comments (Programming)

- What is a logical partition management LVM, how to use in Ubuntu (Linux)

- Nagios (centreon) monitoring LVS (Server)

- Gentoo: startx problem appears Failed to load module (Linux)

- Ubuntu 14.04 / 14.10 how to install Mate 1.10.0 (Linux)

- How to use scientific data Docker quickly configure the development environment (Server)

- Using FTPClient to upload and download files in Java (Programming)

- Role Object of registerNatives () method (Programming)

- Mac Docker deploy development environment (Server)

- Struts2 dynamic call DMI and error Solution (Programming)

- MySQL to manage multiple instances of method (Database)

- How to implement Linux host Telnet SSH password Free (Server)

- RedHat Linux 7 build yum source server (Server)

- Use Ambari rapid deployment Hadoop big data environment (Server)

- Shell script to crawl through AWR SQL Report Problems (Database)

- Shorewall firewall settings under Ubuntu (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
- Linux command Detailed chpasswd bulk edit user password (Linux)
- Simple solution CC attack under Linux VPS (Linux)
- Use PDFBox processing PDF documents (Linux)
- System Safety: Windows and Linux platforms (Linux)
- How to remove the files inside the privacy of data on Linux (Linux)
- Android screen rotation processing and ProgressDialog the best AsyncTask (Programming)
- C ++ free store and heap (Programming)
- How to monitor Linux system performance Nmon (Linux)
- Linux LVM - File system extension (Linux)
- Compression decompression command under Linux (Linux)
- Run two MySQL service on one server (Database)
- IOS distributed management using GitHub project development (Linux)
- Transfer MySQL database to MariaDB (Database)
- RPM package management tools under Linux (Linux)
- GoldenGate update is missing (Database)
- Use PDFBox parse PDF file (Linux)
- Install Kali Linux via PXE network (Linux)
- CentOS 7 virt-manager can not connect a local hypervisor (Linux)
- JDK installation under CentOS (Linux)
- Ubuntu is not in the sudoers file problem solving (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.