Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Installation and use the telnet command under CentOS 6.x     - Java Learning: elegant string (Programming)

- Installation Experience open source car Automotive Grade Linux system (Linux)

- Two classic macro definition under Linux (Linux)

- RegExp object implements regular match --JavaScript (Programming)

- Use smem visual display Linux memory usage (Linux)

- MySQL common functions summary (Database)

- HashMap in Android and Java different implementations (Programming)

- Ubuntu 14.04 Trusty Tahr User How to install Banshee 2.9.1 (Linux)

- Linux file system (inode and block) (Linux)

- Windows 7 hard disk to install Ubuntu 14.10 (Linux)

- Oracle 12C RAC on temporary table space Enlighten (Database)

- CentOS 6.5 start ActiveMQ being given to solve (Server)

- systemd-nspawn Quick Guide (Linux)

- Java NIO1: I / O model overview (Programming)

- Basic Java JNI (Programming)

- To change CentOS7 runlevel (Linux)

- Memcached distributed caching (Server)

- Oracle delete table space prompted ORA-00604 and ORA-38301 (Database)

- About the replication of JavaScript (Programming)

- Linux POST fstab configuration file read-only variable can not be modified 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 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
- How apt-get limited use IPv4 or IPv6 protocol to download (Linux)
- MySQL5.7.10 installation documentation (Database)
- Offline (local) Yum source structures (Linux)
- Hadoop scheduling availability of workflow platform - Oozie (Server)
- Oracle index visible and hidden (visible / invisible) (Database)
- CentOS yum install LAMP (Server)
- Wireless LAN security solutions (Linux)
- How to install Go1.5 source development environment on Mac (Server)
- Using FTPClient to upload and download files in Java (Programming)
- Smooth upgrade to OpenSSH 6.1 Procedure (Linux)
- Linux how to view the graphics models notebook (Linux)
- How to install CentOS 7.x in OpenERP (Odoo) (Linux)
- VMware virtual machines to install virt-manager unable to connect to libvirt's approach (Linux)
- Docker knowledge base (Server)
- JavaScript in this usage (Programming)
- php performance monitoring module XHProf (Linux)
- using Docker Kitematic on windows (Linux)
- How x2go set up Remote Desktop on Linux (Linux)
- Java multi-threaded shared communications variables (Programming)
- OpenSUSE / Linux network configuration (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.