Configure Telnet to connect to a Linux server
Telnet allows access to a Linux server from the Windows platform, with the same effect as an SSH client, except that it is more secure with SSH connections.
- Check if the Telnet service is installed on the Linux system Rpm-qa|grep telnet, return empty, indicate no installation, need to install Telnet Server from the Yum source, and view the Telnet service-side package name in the Yum cache list
- Perform installation commands to install Yum install tenet-server.x86_64–y wait for installation to complete
- Modify the configuration file for Telnet vim/etc/xinetd.d/telnet
Change Disable=yes to Disable=no
- Restart the Telnet service xinetd restart
- If the system is not optimized, you need to add the open Telnet Service 23 port rule in the firewall vim/etc/sysconfig/iptables
Restart Firewall service iptables restart or/etc/init.d/iptables restart
- Remove the/etc/securetty profile (this profile specifies that the root user can only log on to the appropriate TTY terminal and that the root user can be remotely logged on after removal) Mv/etc/securetty/etc/securetty.bak for the sake of insurance, Move files to backup, not directly deleted
- Install the Telnet service configured for Windows, go to Control Panel---Programs and features, click Enable or disable Windows features, locate Telnet and tick OK to install
- Open windows command line cmd, type the Telnet+linux server IP address, wait for the connection to enter the user name password to log in, log in successfully, enter the terminal interface
At this point, configure Telnet to log on to the Linux server side successfully
Original articles, reproduced please be sure to indicate the source
Linux Learning seven-configure Telnet to connect to a Linux server